]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/misc2.cpp
Corrected wxPython notes
[wxWidgets.git] / wxPython / src / msw / misc2.cpp
index f94997408242c58582589d5fce682de7223190c5..0d19b32cbe2026f705fd92369b7034c0c606a1da 100644 (file)
@@ -145,7 +145,11 @@ IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEnc
 
 
     bool wxThread_IsMain() {
+#ifdef WXP_WITH_THREAD
         return wxThread::IsMain();
+#else
+        return TRUE;
+#endif
     }
 
 class wxPyTipProvider : public wxTipProvider {