With wxWidget 2.8.0, a management of menu entries under OS-X is done. The Help, About and Options menu are moved automaticly by wxWidget to the standardpositions for the MAC OS-X.
Since 2.8 (I think) this does no longer work with code generated by wxGlade, for wxGlade produces code like:
menubar = new wxMenuBar(); SetMenuBar(menubar); wxMenu* wxglade_tmp_menu_1 = new wxMenu(); ...
Within SetMenuBar, to stuff for the MAC OS-X is done, but the menubar is empty at this point.
The line "SetMenuBar(menubar)" should be generated after all entries are created, so the update of the Menus for MAC OS-X will work again.
Log in to post a comment.