[W2k, wxPython 2.6.1.0] - MDISashDemo bug?

W

w.p.

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.

--
 
W

w.p.

w.p. said:
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.
 
S

Steve Holden

w.p. said:
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
 
W

w.p.

Steve said:
Well done! Do you know how to feed this information on to the developers
(probably Robin Dunn)? All such changes are valuable.

Hmm... i dont know. wxpython.org -> "submit a patch" or "Report a bug" ?

w.p.
 
S

Steve Holden

w.p. said:
Steve Holden wrote:




Hmm... i dont know. wxpython.org -> "submit a patch" or "Report a bug" ?

w.p.

Either of those would do, since it's not a huge fix and so won't require
a formal patch file.

regards
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top