]> git.saurik.com Git - wxWidgets.git/commitdiff
submenus have to work in these as well
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 25 Feb 2005 14:19:33 +0000 (14:19 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 25 Feb 2005 14:19:33 +0000 (14:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp

index 7b596771ad97460a773149ca26b8b2696b94992c..71701a0a040112635b9e6a22e2429d5e49d8fc3e 100644 (file)
@@ -919,6 +919,7 @@ bool wxMenuBar::Append(wxMenu *menu, const wxString& title)
     {
         if (s_macInstalledMenuBar == this)
         {
     {
         if (s_macInstalledMenuBar == this)
         {
+            menu->MacBeforeDisplay( false ) ;
             ::InsertMenu( MAC_WXHMENU(menu->GetHMenu()) , 0 ) ;
         }
 
             ::InsertMenu( MAC_WXHMENU(menu->GetHMenu()) , 0 ) ;
         }