[wxPython-dev] wx.aui problem with last 2.7 preview

Robin Dunn robin at alldunn.com
Tue Sep 26 13:18:54 PDT 2006


m.prosperi at libero.it wrote:
> hi Robin, the following script works badly with the last preview of
> wxpy2.7 but worked fine with
> wxPython2.7-win32-unicode-2.7.0.0pre.20060712-py24.exe. When I resize
> the main MDI frame the children are not redrawn correctly
> 

Since this sample has only one child of the MDIParentFrame that is not a 
top-level window (the AUI pane) then on resize it is trying to do the 
default behavior of resizing the child to fill the frame and AUI is 
getting confused.  If you give the frame an EVT_SIZE handler that does 
nothing, then it should work.

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





More information about the wxpython-dev mailing list