]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dnd.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / dnd.h
index d7a4010276efb8d0371c1da106ab2b65198a4fd6..eb7eea590a088de49408214c6d6677379a7941ae 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DND_H_BASE_
 #define _WX_DND_H_BASE_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dndbase.h"
 #endif