]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
Moved GetDefaultAttributes outside wxUSE_RICHEDIT block
[wxWidgets.git] / src / msw / thread.cpp
index 6a8e87350c2624ba938c79b26dd73aa6a2e3b331..0a1d611ca4c8ecc48d0ba8e3b17afc0888fa180f 100644 (file)
@@ -893,7 +893,10 @@ unsigned long wxThread::GetCurrentId()
 
 bool wxThread::SetConcurrency(size_t level)
 {
-#ifndef __WXWINCE__
+#ifdef __WXWINCE__
+    wxUnusedVar(level);
+    return false;
+#else
     wxASSERT_MSG( IsMain(), _T("should only be called from the main thread") );
 
     // ok only for the default one
@@ -983,9 +986,9 @@ bool wxThread::SetConcurrency(size_t level)
 
         return false;
     }
-#endif // !__WXWINCE__
 
     return true;
+#endif // __WXWINCE__/!__WXWINCE__
 }
 
 // ctor and dtor