]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/paletteg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / paletteg.h
index 0ffcd7a57acb511f306db93ddddf40e43bf2e297..3ff00fbf202b8a3ba8fd643ac7141d4943cbc6ef 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __WX_PALETTEG_H__
 #define __WX_PALETTEG_H__
 
 #ifndef __WX_PALETTEG_H__
 #define __WX_PALETTEG_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "paletteg.h"
 #endif
 
 #pragma interface "paletteg.h"
 #endif