Author Topic: wxSmith: How to connect wxMenu to wxMenuBar  (Read 5189 times)

Offline koen

  • Multiple posting newcomer
  • *
  • Posts: 13
wxSmith: How to connect wxMenu to wxMenuBar
« on: April 03, 2007, 12:01:42 pm »
Hi,

I was trying to create menus with wxSmith. Just as a test, I created a wxMenuBar, and added one item (Label: 'File'). I then created a wxMenu, and added two items (labels: 'Open' and 'Close'). Obviously, I want this menu to be connected to the File menu. Did I miss a simple option to do so within wxSmith? Or do I have to code this manually?

Thanks!

Koen

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: wxSmith: How to connect wxMenu to wxMenuBar
« Reply #1 on: April 03, 2007, 01:08:57 pm »
in the wxMenuBar editor, where you created 'File', add entries under the 'File' menu (press the '>' button to move your entry under this menu).
The wxMenu editor is for popup menus.
Be patient!
This bug will be fixed soon...

Offline koen

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: wxSmith: How to connect wxMenu to wxMenuBar
« Reply #2 on: April 03, 2007, 01:40:28 pm »
Ah, I see. I feel kind of stupid... Anyway, thanks for the pointer!

Koen

sibbi77

  • Guest
Re: wxSmith: How to connect wxMenu to wxMenuBar
« Reply #3 on: May 01, 2007, 11:37:07 am »
Thanks for the hint ... it's not that obvious!