w.p. wrote:
> When i run MDISashDemo and maximize main frame, minimize and maximize
> again - LayoutMDIFrame in OnSize dont work more...
> Why?
>
> I need this feature for main MDI frame with toolbar and statusbar with
> panels&sizers&bitmapbuttons :)
>
> Windows 2000, wxPython 2.6.1.0
>
> w.p.
>
When i add this code:
self.Bind(wx.EVT_ACTIVATE, self.OnActivate)
and
def OnActivate(self, event):
if event.GetActive():
wx.LayoutAlgorithm().LayoutMDIFrame(self)
all is ok.
Small improvement in demo :)
w.p.
--
http://mail.python.org/mailman/listinfo/python-list