git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21245
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
menu_bar->Append(edit_menu, _T("&Edit"));
menu_bar->Append(help_menu, _T("&Help"));
menu_bar->Append(edit_menu, _T("&Edit"));
menu_bar->Append(help_menu, _T("&Help"));
+#ifdef __WXMAC__
+ wxMenuBar::MacSetCommonMenuBar(menu_bar);
+#endif //def __WXMAC__
//// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
frame->Centre(wxBOTH);
//// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
frame->Centre(wxBOTH);
SetTopWindow(frame);
return TRUE;
SetTopWindow(frame);
return TRUE;