Improvements to OnIdle processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -828,6 +828,8 @@ void wxApp::OnIdle(wxIdleEvent& event)
|
||||
wxDC::ClearCache();
|
||||
#endif // wxUSE_DC_CACHEING
|
||||
|
||||
// Now done in ProcessIdle()
|
||||
#if 0
|
||||
// Send OnIdle events to all windows
|
||||
if ( SendIdleEvents() )
|
||||
{
|
||||
@@ -835,6 +837,7 @@ void wxApp::OnIdle(wxIdleEvent& event)
|
||||
// idle events
|
||||
event.RequestMore(TRUE);
|
||||
}
|
||||
#endif
|
||||
|
||||
wxIsInOnIdleFlag = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user