]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
change MSW libs directories so that libraries are shared by builds
[wxWidgets.git] / src / unix / threadpsx.cpp
index 1b93fa7f5216f5555574a6fe7bd3f53aac19b664..ac55f84a1fb097074b70b04049c55a606ce8c555 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "thread.h"
 #endif
 
-#include "wx/defs.h"
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #if wxUSE_THREADS
 
@@ -1183,8 +1184,6 @@ wxThreadError wxThread::Create(unsigned int WXUNUSED(stackSize))
         return wxTHREAD_NO_RESOURCE;
     }
 
-    m_state = STATE_NEW;
-
     return wxTHREAD_NO_ERROR;
 }