Add wxTreeCtrl::SelectChildren() method.

Add MSW and generic implementation, documentation and change to the sample
showing it.

Closes #11620.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-01-26 12:43:39 +00:00
parent 6b2f55531a
commit 5cb3a695e0
9 changed files with 100 additions and 1 deletions

View File

@@ -954,6 +954,15 @@ public:
Unselects the given item. This works in multiselection controls only.
*/
void UnselectItem(const wxTreeItemId& item);
/**
Select all the immediate children of the given parent.
This function can be used with multiselection controls only.
@since 2.9.1
*/
virtual void SelectChildren(const wxTreeItemId& parent);
};