X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee4b27218975753b6f9aca302f38793ed497ded3..981cf2aadb40b112e3372aeffb7898bbe2ed0acb:/include/wx/msw/treectrl.h diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index bd5e07c5d0..83b30bcff9 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectrl.h" #endif @@ -403,6 +403,8 @@ public: long& cookie) const ); #endif // WXWIN_COMPATIBILITY_2_4 + virtual bool ShouldInheritColours() const { return false; } + // implementation // --------------