add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-09-09 04:53:02 +00:00
parent 4bc4bae185
commit 8a378a9e16
3 changed files with 16 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ bool wxEventLoop::Pending() const
{
// We need to remove idle callbacks or gtk_events_pending will
// never return false.
wxTheApp->RemoveIdleTag();
wxTheApp->RemoveIdleSource();
}
return gtk_events_pending();