Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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: 1619

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