]> git.saurik.com Git - wxWidgets.git/commitdiff
rename RemoveIdleSource to SuspendIdleCallback
authorPaul Cornett <paulcor@bullseye.com>
Sat, 9 Dec 2006 17:46:20 +0000 (17:46 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 9 Dec 2006 17:46:20 +0000 (17:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/app.h
src/gtk/app.cpp
src/gtk/evtloop.cpp

index dc9d3f50de911f558040840b513a80b53af1d7fd..3d862eafd45db3520e66d1f302c57b5a5a3b82ef 100644 (file)
@@ -53,7 +53,8 @@ public:
 #endif // __WXDEBUG__
 
     guint m_idleTag;
-    void RemoveIdleSource();
+    // temporarily disable idle events
+    void SuspendIdleCallback();
 
     // Used by the the wxGLApp and wxGLCanvas class for GL-based X visual
     // selection.
index 05cf17cf560bee62fd71a979b0891dc192735338..e68e9654d6e07a13627cefececabd69214588ded 100644 (file)
@@ -135,7 +135,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
 
     // We need to remove idle callbacks or the loop will
     // never finish.
-    RemoveIdleSource();
+    SuspendIdleCallback();
 
 #if wxUSE_LOG
     // disable log flushing from here because a call to wxYield() shouldn't
@@ -628,7 +628,7 @@ void wxApp::OnAssertFailure(const wxChar *file,
 
 #endif // __WXDEBUG__
 
-void wxApp::RemoveIdleSource()
+void wxApp::SuspendIdleCallback()
 {
 #if wxUSE_THREADS
     wxMutexLocker lock(gs_idleTagsMutex);
index 11406deb0b8ed6a1bd53c9d057b2bc861bc11803..2b2bfa91c4f4c7c6a051e6e4f09f524e0d8ca4c0 100644 (file)
@@ -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();