]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/pen.cpp
don't define functions unused under CE when compiling for it (avoids warnings)
[wxWidgets.git] / src / gtk / pen.cpp
index 7fb6e0cd0d8bc15580572d8eb8532672e550707c..ee89ada46a7c12bbc16bdac46148e2573f00e1ac 100644 (file)
@@ -8,10 +8,13 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "pen.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/pen.h"
 #include "wx/colour.h"