]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/thread.cpp
fixed an over-optimisation
[wxWidgets.git] / src / stubs / thread.cpp
index e12b45e63ba08f60aa98e2a3885774a09091da7d..34ad1a4f14ad02ddcb343efea7d17dbca7ea45db 100644 (file)
@@ -17,6 +17,8 @@
 #include "wx/thread.h"
 #include "wx/utils.h"
 
+#if wxUSE_THREADS
+
 enum thread_state {
   STATE_IDLE = 0,
   STATE_RUNNING,
@@ -259,3 +261,5 @@ public:
 
 IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
 
+#endif
+  // wxUSE_THREADS