X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f6b94a33a3d8779c078740b3eae2090015c838a..f2b7492a88eef36f26668cefff8d3f8b91e5f50e:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 8a762a4c4d..c4315c64e6 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -204,6 +204,11 @@ bool wxApp::DoIdle() g_source_remove(m_idleSourceId); m_idleSourceId = 0; } + + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + needMore = needMore || HasPendingEvents(); + // if more idle processing requested if (needMore) {