]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / accel.h
index 4ba1dc43003c2d9155ebe9ea632222884d3a0608..1d05a92a99fbf8a01dc87e6432b7155f1aafaec6 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_GENERIC_ACCEL_H_
 #define _WX_GENERIC_ACCEL_H_
 
 #ifndef _WX_GENERIC_ACCEL_H_
 #define _WX_GENERIC_ACCEL_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "accel.h"
 #endif
 
 #pragma interface "accel.h"
 #endif