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