]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/gdiobj.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / motif / gdiobj.h
index b532e20fd0e5096a1f066d1d66a04157eec4c7fe..14293b584102ee5641187cef86d880ca599d7930 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/object.h"
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "gdiobj.h"
 #endif