Jump to content

  • Log In with Google      Sign In   
  • Create Account

SFML, wx, and GTK+2.0 - Getting the window identifier...


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1   Crossbones+   -  Reputation: 2589

Like
0Likes
Like

Posted 17 January 2014 - 02:49 PM

I'm following this tutorial here: http://sfml-dev.org/tutorials/1.6/graphics-wxwidgets.php

 

My first problem is GTK_PIZZA (what on earth does that even mean?). It's undefined, and apparently has been obsolete since wx-2.8 (I'm using wx-3.0). My second problem is that m_wxwindow is NULL, and so is the value returned by GetHandle().

 

So how do I get the window handle/X11 identifier of the window to pass to sf::RenderWindow::create()?


"Windows 10 doesn't only include spyware, it is designed as spyware" -- Gaius Publius, The Big Picture RT Interview

"[...] we will access, disclose and preserve personal data, including your content (such as the content of your emails, other private communications or files in private folders), when we have a good faith belief that doing so is necessary" -- Windows 10 Privacy Statement





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.




PARTNERS