[wxPython-dev] wx.aui problem with last 2.7 preview
m.prosperi at libero.it
m.prosperi at libero.it
Tue Sep 26 13:57:58 PDT 2006
m/.prosperi@/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.
I've added:
self.Bind(wx.EVT_SIZE, self.OnSize)
def OnSize(self,evt):
evt.Skip()
but haven't got the result
Marco
------------------------------------------------------
Salva il tuo preventivo Direct Line e assicurati lo sconto extra 5+5% sulla Rc auto, entro il 30 Settembre!
http://click.libero.it/direct_line3
More information about the wxpython-dev
mailing list