X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e9af289ed81a98bbbf9bb183d0ed03ac627ba32..af51080d149236d28af5484096a1b5eda43b5ae0:/include/wx/msw/treectrl.h diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 4a0a5278f8..f95ddf6f96 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -408,12 +408,22 @@ public: long& cookie) const ); #endif // WXWIN_COMPATIBILITY_2_4 - virtual bool ShouldInheritColours() const { return false; } // implementation // -------------- - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual bool ShouldInheritColours() const { return false; } + + virtual wxVisualAttributes GetDefaultAttributes() const + { + return GetClassDefaultAttributes(GetWindowVariant()); + } + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); virtual bool MSWCommand(WXUINT param, WXWORD id); virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);