Maximize window

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
antonio88m
In need of some credit
In need of some credit
Posts: 2
Joined: Thu Jul 07, 2011 10:04 pm

Maximize window

Post by antonio88m » Sat Jul 09, 2011 3:22 pm

How to maximize a wxFrame object to fit the monitor size? I think I have to give the right size to the constructor of the class. How can I take it?
I need also to know how to fit exactly a wxGLCanvan object inside a wxFrame. If I set wxDefaultSize to the size of the wxGLCanvas object it stay as a very little square in the top-left of the window.
Thank you.

ajm
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Nov 25, 2010 12:48 pm

Re: Maximize window

Post by ajm » Wed Sep 07, 2011 12:32 pm

wxTopLevelWindow::Maximize(true) ;

Post Reply