Sign in to follow this  

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

This topic is 1461 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