]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/font.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / mgl / font.h
index e4a56a874b48a324719427f06298905b7d0b9b92..5381f3184d1925230b7c498cfe4e1a78b625b4be 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef __WX_FONT_H__
 #define __WX_FONT_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "font.h"
 #endif