I have an XRC file which contains a frame which itself contains a
menubar. I'm trying to get references to the menuitems on the menubar
but I can't get a reference to the menubar. My code:
Sorry, ignore my post. I just realized the answer should be:
self.menubar = self.mainframe.GetMenuBar()
···
On Mar 18, 9:47 pm, BigPilot <bigpi...@linuxmail.org> wrote:
Hi,
I have an XRC file which contains a frame which itself contains a
menubar. I'm trying to get references to the menuitems on the menubar
but I can't get a reference to the menubar. My code:
For the record, if you ever do want to be able to fetch menubars from XRC you just need to make it be a top level item in the XRC file.
···
On 3/18/10 1:59 PM, BigPilot wrote:
On Mar 18, 9:47 pm, BigPilot<bigpi...@linuxmail.org> wrote:
Hi,
I have an XRC file which contains a frame which itself contains a
menubar. I'm trying to get references to the menuitems on the menubar
but I can't get a reference to the menubar. My code: