]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colrdlgg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / colrdlgg.h
index e246d079667c6059b003e35f9fc6740a5466f9a4..1b5bae611bba83b730bbe8f93df5ccfdaef06040 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __COLORDLGH_G__
 #define __COLORDLGH_G__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "colrdlgg.h"
 #endif