]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
Fix the off-by-one a little differently, and correct a refresh problem
[wxWidgets.git] / src / gtk / gauge.cpp
index f180206c79e4f136fa745f4fada77190f5958dbe..693dbce205f07d3c81194bc29f78c59ff081ec52 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "gauge.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/gauge.h"
 
 #if wxUSE_GAUGE