]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/textdlgg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / textdlgg.h
index 9c2284ac28ec11f7934db65c7e5058606be19c52..d9cbafc1b726a4a25a8b9d7bdc98d0772346a250 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __TEXTDLGH_G__
 #define __TEXTDLGH_G__
 
 #ifndef __TEXTDLGH_G__
 #define __TEXTDLGH_G__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "textdlgg.h"
 #endif
 
     #pragma interface "textdlgg.h"
 #endif