]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/display.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / display.h
index 77dddeb6ae602fde34e92bcb34023f3e110fa20e..a9eeb86607e3248085ce49f085578ba720b7b09f 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_DISPLAY
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "displaybase.h"
 #endif