23 May 23:32
xrc help
From: Dennis Sacks <dennis.sacks@...>
Subject: xrc help
Newsgroups: gmane.comp.lib.wxwidgets.wxlua.user
Date: 2008-05-23 21:33:09 GMT
Subject: xrc help
Newsgroups: gmane.comp.lib.wxwidgets.wxlua.user
Date: 2008-05-23 21:33:09 GMT
I created an xrc file using wxFormBuilder and have been looking at calculator.wx.lua for guidance but I'm still struggling. :)
I can load my frame and it displays, which made me very happy, but I am trying to access the menubar that is specified in my xrc file, and I'm not sure how to.
I've tried frame:FindWindow(xmlResource.GetXRCID("mbMain")) as well as just frame:FindWindow("mbMain") but I am getting nil from both. mbMain is the name of the menubar - I've verified that.
How do I manipulate the menubar?
Dennis
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ wxlua-users mailing list wxlua-users@... https://lists.sourceforge.net/lists/listinfo/wxlua-users
RSS Feed