CFRunLoopWakeUp(m_runLoop);
}
+#if wxUSE_BASE
+
+void wxMacWakeUp()
+{
+ wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
+
+ if ( loop )
+ loop->WakeUp();
+}
+
+#endif
+
bool wxCFEventLoop::YieldFor(long eventsToProcess)
{
#if wxUSE_THREADS
int wxCFEventLoop::DoProcessEvents()
{
- return DispatchTimeout( 1000 );
+ return DispatchTimeout( 0 );
}
bool wxCFEventLoop::Dispatch()