]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/app.cpp
process pending wx events before sending idle events
[wxWidgets.git] / src / mac / carbon / app.cpp
index a48440d002189e6f3782ff805efdae77290f3a8a..d833bb02d7991dd3ae80f69dc13cc3cddf3aa80f 100644 (file)
@@ -1136,12 +1136,7 @@ wxApp::wxApp()
 
 void wxApp::OnIdle(wxIdleEvent& event)
 {
-    wxAppBase::OnIdle(event);
-
-    // If they are pending events, we must process them: pending events are
-    // either events to the threads other than main or events posted with
-    // wxPostEvent() functions
-    wxMacProcessNotifierAndPendingEvents();
+    wxMacProcessNotifierEvents();
 
   if (!wxMenuBar::MacGetInstalledMenuBar() && wxMenuBar::MacGetCommonMenuBar())
     wxMenuBar::MacGetCommonMenuBar()->MacInstallMenuBar();