]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/pen.cpp
The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
[wxWidgets.git] / src / gtk1 / 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"