]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc2.i
SWIGged code updates
[wxWidgets.git] / wxPython / src / misc2.i
index 9b4909698304e04db42b3d9f5bcd9e7d7f0c5108..9da8e9f5303ed4fb7746b23c62d7fc8353bf0335 100644 (file)
@@ -410,7 +410,11 @@ public:
 
 %inline %{
     bool wxThread_IsMain() {
+#ifdef WXP_WITH_THREAD
         return wxThread::IsMain();
+#else
+        return TRUE;
+#endif
     }
 %}