]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/app.cpp
Implement GetDashCount() for Carbon/Cocoa.
[wxWidgets.git] / src / dfb / app.cpp
index c95912e53866c75d74b0b69b56ac506831b9838f..141bd1a031dbc8dec32542ae02c8875880732870 100644 (file)
@@ -163,8 +163,7 @@ void wxApp::WakeUpIdle()
 #endif
 }
 
-
-bool wxApp::Yield(bool onlyIfNeeded)
+bool wxApp::DoYield(bool onlyIfNeeded, long eventsToProcess)
 {
 #if wxUSE_THREADS
     if ( !wxThread::IsMain() )
@@ -182,6 +181,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
     }
 
     m_isInsideYield = true;
+    m_eventsToProcessInsideYield = eventsToProcess;
 
 #if wxUSE_LOG
     wxLog::Suspend();