]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
generate standard mini dumps instead of writing our own text file equivalent
[wxWidgets.git] / src / gtk / spinbutt.cpp
index c3f87369a153c40dddbe2399930fbed7e22b0416..899c30c81684000fd9d5bdfce05a82bf71ea1de1 100644 (file)
@@ -8,11 +8,14 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "spinbutt.h"
     #pragma implementation "spinbutbase.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/spinbutt.h"
 
 #if wxUSE_SPINBTN
@@ -21,8 +24,7 @@
 
 #include <math.h>
 
-#include <gdk/gdk.h>
-#include <gtk/gtk.h>
+#include "wx/gtk/private.h"
 
 //-----------------------------------------------------------------------------
 // idle system