]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/menuitem.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / menuitem.h
index eff0730a0cb821ee9510349fbc0dba7f07853ad8..9f8e53306779dc850f8ecbdb9eaee4767094e363 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_MENUITEM_H_
 #define _WX_UNIV_MENUITEM_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univmenuitem.h"
 #endif