Question about the right use of sizers ...

Robin Dunn robin at alldunn.com
Fri Oct 27 10:14:22 PDT 2006


c.Kleinhuis wrote:
> Robin Dunn schrieb:
>> c.Kleinhuis wrote:
>>> great, thank you, that finally worked .... but is there a reason for 
>>> that ?
>>> wxControl is a descendant of wxWindow, why does it not behave the 
>>> same way !?!?
>>
>> wxWindow doesn't do it either.
>>
>>
> hmm, and autoLayout ... ;) ?

Container window classes like wxPanel and wxTopLevelWindow have EVT_SIZE 
handlers that do something like:

     if (GetAutoLayout())
         Layout();

wxWindow and wxControl don't.


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





More information about the wx-users mailing list