]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/thread.cpp
Fixed doubled-up key effects in wxTextCtrl by resetting m_lastMsg to 0
[wxWidgets.git] / src / mac / thread.cpp
index 82fff92ba38b9fca81d02e7d8461e031c73aa6b8..8dd23bdce95c2f275b47019824aa22b5615de173 100644 (file)
@@ -24,6 +24,8 @@ enum thread_state {
   STATE_EXITED
 };
 
+#if wxUSE_THREADS
+
 /////////////////////////////////////////////////////////////////////////////
 // Static variables
 /////////////////////////////////////////////////////////////////////////////
@@ -259,3 +261,4 @@ public:
 
 IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
 
+#endif