]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/spinbutt.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / spinbutt.h
index 3fe2215171fb806326d07c2cb646c1e761c087ad..6f2ec38af0507dd373e2d85c02bc2ff77b9bfed7 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_SPINBUTT_H_
 #define _WX_UNIV_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univspinbutt.h"
 #endif