Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

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   Members   

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


"I would try to find halo source code by bungie best fps engine ever created, u see why call of duty loses speed due to its detail." -- GettingNifty




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.