Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Child Frames in wxWidgets  (Read 1610 times)

0 Members and 1 Guest are viewing this topic.

Blublop

  • Newbie
  • *
  • Posts: 13
    • View Profile
Child Frames in wxWidgets
« on: May 25, 2011, 09:56:27 pm »
Hi all

So, I want to build an editor for my game with 2 sfml RenderWindows in order to display the map in one frame and the tiles in the other one.
I've done this with a win32 interface but now i want to try it with wxWidgets.
I followed the tutorial and it compiles fine, but it seems when I add the wxSFMLCanvas class to an wxFrame it's position is forced everytime to the origin (0,0) of the wxFrame.
Also the size of the sfml frame is stretched to the size of the whole app.
So I have to catch these events and force it's size and position back to normal.

 

anything