wxStaticBox ... resize to controls it contains?

Willy Wankalot willywankalot at earthlink.net
Sat May 3 15:23:34 PDT 2008



Hi.  I have "cross-platform gui programming ...etc" and using wxwidgets on 
windows platform for gui work ... question i have is ... i'm porting a 
dialog from MFC and wanted to know if wxStaticBox can resize to the controls 
it contains.  I'm aware its not a container and the book is clear it needs a 
fixed static wxSize(...) but if its going to be cross platform then it would 
need to size to the controls on different platforms ...

If it doesn't auto-resize, then i could find a different solution, but was 
curious if there is something i'm missing here ... does wxSize have 
something not covered in the book to auto-resize to the controls it 
surrounds?  TIA




More information about the wx-users mailing list