[W2k, wxPython 2.6.1.0] - MDISashDemo bug?
Steve Holden
steve at holdenweb.com
Tue Jun 27 12:32:06 EDT 2006
w.p. wrote:
> 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 :)
>
Well done! Do you know how to feed this information on to the developers
(probably Robin Dunn)? All such changes are valuable.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Love me, love my blog http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list