return;
gbInOnIdle = TRUE;
-
- //
- // If there are pending events, we must process them: pending events
- // are either events to the threads other than main or events posted
- // with wxPostEvent() functions
- //
- ProcessPendingEvents();
-
- //
- // 'Garbage' collection of windows deleted with Close().
- //
- DeletePendingObjects();
-
-#if wxUSE_LOG
- //
- // Flush the logged messages if any
- //
- wxLog::FlushActive();
-#endif // wxUSE_LOG
+
+ wxAppBase::OnIdle(event);
#if wxUSE_DC_CACHEING
// automated DC cache management: clear the cached DCs and bitmap
wxDC::ClearCache();
#endif // wxUSE_DC_CACHEING
- //
- // Send OnIdle events to all windows
- //
- if (SendIdleEvents())
- {
- //
- // SendIdleEvents() returns TRUE if at least one window requested more
- // idle events
- //
- rEvent.RequestMore(TRUE);
- }
gbInOnIdle = FALSE;
} // end of wxApp::OnIdle