wxStaticBox ... resize to controls it contains?
Tsolakos Stavros
sou1980 at tellas.gr
Sat May 3 16:37:12 PDT 2008
Hi.
> 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 ...
Not exactly what you may need, but you could have a look at the
wxStaticBoxSizer class and its Fit() method.
HTH,
Stavros
More information about the wx-users
mailing list