]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/caret.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / caret.h
index 73dcaa463912eec1f1579376e27abaa226b37e5c..21effecb5857d9ea8adf59c548a12357bbcdad56 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CARET_H_
 #define _WX_CARET_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "caret.h"
 #endif