]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
Unicodified wxSplitPath
[wxWidgets.git] / src / msw / thread.cpp
index 1e642fd8e81fb851421275c360b51a441bee85e8..c3703a04564e5a50aebbd31bb01b3cec1526a569 100644 (file)
@@ -440,6 +440,10 @@ bool wxThread::IsMain()
     return ::GetCurrentThreadId() == s_idMainThread;
 }
 
+#ifdef Yield
+#undef Yield
+#endif
+
 void wxThread::Yield()
 {
     // 0 argument to Sleep() is special