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