]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
GetIcon() returns wxIconLocation, not wxIcon, now
[wxWidgets.git] / src / mac / carbon / app.cpp
index ebbb1498bef734f6546016c2febd2d9440c81084..ad2eb4d5ea45d23143511b984a81e2091ddcab69 100644 (file)
@@ -1222,6 +1222,8 @@ void wxApp::OnIdle(wxIdleEvent& event)
     wxMacProcessNotifierAndPendingEvents();
 
   s_inOnIdle = FALSE;
+  if(!wxMenuBar::MacGetInstalledMenuBar() && wxMenuBar::MacGetCommonMenuBar())
+    wxMenuBar::MacGetCommonMenuBar()->MacInstallMenuBar();
 }
 
 void wxWakeUpIdle()