X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fcf6e3258aa2590face683a7ae5ed976410e2b8..91116345459337f3fc10fa60ad96d770d41569eb:/include/wx/generic/treectlg.h diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index e257190faf..6e39c0113e 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -12,7 +12,7 @@ #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 @@ -361,6 +361,7 @@ public: long& cookie) const; #endif // WXWIN_COMPATIBILITY_2_4 + virtual bool ShouldInheritColours() const { return false; } // implementation only from now on