]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinctrl.cpp
fix for CW non unicode builds
[wxWidgets.git] / src / gtk / spinctrl.cpp
index 2fbffa6771a82d5cbb49a563aca6316bb634104c..989b574e37667d60559c60ae22c5d7b992eb4dd3 100644 (file)
@@ -8,10 +8,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "spinctrl.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/spinctrl.h"
 
 #if wxUSE_SPINCTRL