X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a63feff3a93d9d9dc36f155d3a5c3a36cb922f0..40452e05839d958474a8be831632975035af3384:/src/msw/treectrl.cpp diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index cd18d9d3f3..dcbb70016a 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -787,6 +787,18 @@ wxTreeCtrl::~wxTreeCtrl() // accessors // ---------------------------------------------------------------------------- +/* static */ wxVisualAttributes +wxTreeCtrl::GetClassDefaultAttributes(wxWindowVariant variant) +{ + wxVisualAttributes attrs = GetCompositeControlsDefaultAttributes(variant); + + // common controls have their own default font + attrs.font = wxGetCCDefaultFont(); + + return attrs; +} + + // simple wrappers which add error checking in debug mode bool wxTreeCtrl::DoGetItem(wxTreeViewItem* tvItem) const