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 TheComet   Crossbones+   -  Reputation: 1643

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


YOUR_OPINION >/dev/null

Sponsor:



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