wxStaticBox ... resize to controls it contains?
Willy Wankalot
willywankalot at earthlink.net
Sat May 3 19:10:27 PDT 2008
Thanks ... thats what I needed.
"Tsolakos Stavros" <sou1980 at tellas.gr> wrote in message
news:IG6Tj.301217$%k.405220 at twister2.libero.it...
> 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