[W2k, wxPython] - MDISashDemo bug?

w.p. ptaku2_wywal_to_ at tlen.pl
Tue Jun 27 18:07:22 CEST 2006

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
> w.p.
When i add this code:

     self.Bind(wx.EVT_ACTIVATE, self.OnActivate)


     def OnActivate(self, event):
        if event.GetActive():

all is ok.

Small improvement in demo :)


More information about the Python-list mailing list