workaround for bug 1064351?

Date: Thu, 17 Mar 2005 10:24:12 -0800
To: wxPython-users@lists.wxwidgets.org
From: Robin Dunn <robin@alldunn.com>
Subject: Re: [wxPython-users] workaround for bug 1064351?
Message-ID: <4239CB4C.60200@alldunn.com>

Robin Dunn wrote:

If you give the MDIChildFrames a menubar (even if it is just
a copy of the parent's) then it should work. The bug appears
to manifest only when the child frames don't have a menubar
themselves.

Yes. I suspected that. And it does work when I set a new menu
bar for the child frame. But now I would like to use the menu of the
parent frame. However - just to make sure I'm not heading down the
wrong road - when you say "just a /copy/ of the parent's", do you
mean it should be possible to do something like:

self.SetMenuBar(self.parent.menuBar())?

...which won't to work as this menu is already attached, or do you mean something
along the lines of "reuse the code to create the parent's menu bar"?

Sorry if I'm missing something obvious...

ยทยทยท

--
Vincent Wehren