]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/evtloop.cpp
Clarified the wording for the return value of count
[wxWidgets.git] / src / gtk1 / evtloop.cpp
index d89a31d44ff7d807a8086f83fd74090674e83ea9..429de81069e6bd914732d7ca953110be39acd528 100644 (file)
@@ -109,8 +109,7 @@ bool wxEventLoop::Pending() const
     {
         // We need to remove idle callbacks or gtk_events_pending will
         // never return false.
-        gtk_idle_remove( wxTheApp->m_idleTag );
-        wxTheApp->m_idleTag = 0;
+        wxTheApp->RemoveIdleTag();
         g_isIdle = TRUE;
     }