Dispatch pending events without waiting for idle time (closes #10994).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-07-20 12:14:42 +00:00
parent a6982a3882
commit 26bacb82ff
4 changed files with 30 additions and 9 deletions

View File

@@ -127,6 +127,8 @@ bool wxApp::DoIdle()
gdk_threads_enter();
bool needMore;
do {
ProcessPendingEvents();
needMore = ProcessIdle();
} while (needMore && gtk_events_pending() == 0);
gdk_threads_leave();