X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6141773b49ca5d6893a135171804cf0dae8d20b5..f38dc50d5c25753d6515a1c48bb35fe02bd4ba4f:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index bc7b9bd18e..d0c2b5d7ed 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -777,25 +777,8 @@ void wxApp::OnIdle( 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 @@ -807,17 +790,6 @@ void wxApp::OnIdle( 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