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 correctlySince 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