#include <Threads.h>
#include "wx/mac/uma.h"
#include "wx/mac/macnotfy.h"
-#include "Timer.h"
+#include <Timer.h>
#endif
#define INFINITE 0xFFFFFFFF
void wxThread::Yield()
{
+#if TARGET_API_MAC_OSX
+ CFRunLoopRunInMode( kCFRunLoopDefaultMode , 0 , true ) ;
+#endif
::YieldToAnyThread() ;
+
}
void wxThread::Sleep(unsigned long milliseconds)