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