]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/button.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / button.h
index 18831518d197b59206d4e41d3e3e2e0fdca2be24..e6bb4f0355ac582c581c476a5f52da9921838732 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_BUTTON_H_
 #define _WX_UNIV_BUTTON_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univbutton.h"
 #endif