Question about the right use of sizers ...

Robin Dunn robin at alldunn.com
Fri Oct 27 08:50:39 PDT 2006


c.Kleinhuis wrote:
> i set the background, and the backround is filling up all space 
> intendent to,
> right now, my wxControl descendant is in a wxBoxSizer itself, but anyhow,
> inside the Control i can not use another sizer, what the heck i am doing 
> wrong ...

Provide a handler for EVT_SIZE and have it call Layout().  Controls are 
not normally container windows, and so they don't call layout by default.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list