Untested mini-change for wxGTK idle handling.

Handle internal idle (i.e. update handing)
    *after* sending idle events so that if the
    user calls Refresh() in OnIdle() the regions
    will be updated afterwards.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-04-16 18:18:42 +00:00
parent d1853d4765
commit 5d91e653c5
2 changed files with 4 additions and 4 deletions

View File

@ -501,8 +501,6 @@ bool wxApp::SendIdleEvents( wxWindow* win )
win->GetEventHandler()->ProcessEvent(event);
win->OnInternalIdle();
if (event.MoreRequested())
needMore = TRUE;
@ -516,6 +514,8 @@ bool wxApp::SendIdleEvents( wxWindow* win )
node = node->Next();
}
win->OnInternalIdle();
return needMore;
}

View File

@ -501,8 +501,6 @@ bool wxApp::SendIdleEvents( wxWindow* win )
win->GetEventHandler()->ProcessEvent(event);
win->OnInternalIdle();
if (event.MoreRequested())
needMore = TRUE;
@ -516,6 +514,8 @@ bool wxApp::SendIdleEvents( wxWindow* win )
node = node->Next();
}
win->OnInternalIdle();
return needMore;
}