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