Allow setting colours and font of wxTreeListCtrl.

Use wxCompositeWindow<> to propagate changes of colours and font to
wxDataViewCtrl that wxTreeListCtrl uses internally.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-09-08 21:15:24 +00:00
parent f06efcfd66
commit 1a66177951
2 changed files with 14 additions and 2 deletions

View File

@@ -1022,6 +1022,13 @@ wxTreeListCtrl::~wxTreeListCtrl()
m_model->DecRef();
}
wxWindowList wxTreeListCtrl::GetCompositeWindowParts() const
{
wxWindowList parts;
parts.push_back(m_view);
return parts;
}
// ----------------------------------------------------------------------------
// Columns
// ----------------------------------------------------------------------------