]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/threadno.cpp
header includes for mac corrected
[wxWidgets.git] / src / gtk / threadno.cpp
index 4ac3f05954e56e85e1a96eb94b923191f27727a7..8907b7d39d881aa6366ed7c3ba219af108a4c15d 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "thread.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/wx.h"
 #include "wx/module.h"
 #include "wx/thread.h"