]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/thread.cpp
added missing headers (patch 1774617)
[wxWidgets.git] / src / palmos / thread.cpp
index 85f1b8c08a95ce822de3ac084f52fac1a355f3ed..5dbbbdcea1dc295a19a9a64b5e9defc55c7348fe 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "thread.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_THREADS
+
+#include "wx/thread.h"
+
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
+    #include "wx/module.h"
 #endif
 
 #endif
 
-#if wxUSE_THREADS
-
 #include "wx/apptrait.h"
 
 #include "wx/palmos/private.h"
 #include "wx/palmos/missing.h"
 
 #include "wx/apptrait.h"
 
 #include "wx/palmos/private.h"
 #include "wx/palmos/missing.h"
 
-#include "wx/module.h"
-#include "wx/thread.h"
-
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
     #define _MT
 // must have this symbol defined to get _beginthread/_endthread declarations
 #ifndef _MT
     #define _MT
@@ -595,4 +591,3 @@ bool WXDLLIMPEXP_BASE wxIsWaitingForThread()
 #include "wx/thrimpl.cpp"
 
 #endif // wxUSE_THREADS
 #include "wx/thrimpl.cpp"
 
 #endif // wxUSE_THREADS
-