X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16d17da6ca6d8c9eb1f5b2659a2c5b6dd42b26db..20c81bed846981e90769826b94a91eebb91158f1:/src/gtk/evtloop.cpp diff --git a/src/gtk/evtloop.cpp b/src/gtk/evtloop.cpp index 11406deb0b..2b2bfa91c4 100644 --- a/src/gtk/evtloop.cpp +++ b/src/gtk/evtloop.cpp @@ -103,7 +103,7 @@ bool wxEventLoop::Pending() const { // We need to remove idle callbacks or gtk_events_pending will // never return false. - wxTheApp->RemoveIdleSource(); + wxTheApp->SuspendIdleCallback(); } return gtk_events_pending();