X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d18407fa4496343f2913c50b4b043799ca744de..7a23b2e6970523ea6d4eb836a58e34387ef99d37:/src/unix/threadpsx.cpp diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index a124ad443b..ac55f84a1f 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -21,11 +21,12 @@ // 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_internal->SetState( STATE_NEW ); - return wxTHREAD_NO_ERROR; }