]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/imaglist.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / imaglist.h
index b11f9361605b1d8ca0b6163175ded6c0993b4f19..72c4f686946defd3ea23baa7f4d0355e199f3ab3 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __IMAGELISTH_G__
 #define __IMAGELISTH_G__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "imaglist.h"
 #endif