Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 2096 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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()?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!