|
|
 | | From: | Peter Lu | | Subject: | Newbie question integrating toolbar+menubar and panel+notebook | | Date: | Mon, 24 Jan 2005 05:15:52 +0000 (UTC) |
|
|
 | Hi,
I'm new to wxWidgets and am playing with the sample code. I tried integrating the toolbar sample with the widgets sample, but haven't been successul at getting both displayed in the same window. The toolbar stuff calls SetMenuBar() and CreateToolBar(), which associate these to the frame (via m_frameMenuBar and m_frameToolBar) while the widgets stuff associates the panel to the frame via m_panel. If the toolbar code is called, the panel (sizer+notebook+ log) code doesn't display (although the sizer dimensions have effect).
Could anyone explain what interactions are happening, or at least point me in the right direction? Does setting the appropriate m_* variables (menubar, toolbar, panel) in the frame generally activate these items for processing/display or are additional methods needed to invoke them?
Thanks for any help.
-- Keep it brief: http://www2.paypc.com/mailrules/
|
|
|