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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user