added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() to version-script and use wxABI checks for them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-01-07 15:53:03 +00:00
parent 8f6dc819f8
commit bf41d9034a
2 changed files with 7 additions and 0 deletions

View File

@ -172,8 +172,10 @@ public:
virtual bool IsSelected(const wxTreeItemId& item) const = 0;
// is item text in bold font?
virtual bool IsBold(const wxTreeItemId& item) const = 0;
#if wxABI_VERSION >= 20801
// is the control empty?
bool IsEmpty() const;
#endif // wxABI 2.8.1+
// number of children
@ -296,10 +298,12 @@ public:
void ExpandAll();
// collapse the item without removing its children
virtual void Collapse(const wxTreeItemId& item) = 0;
#if wxABI_VERSION >= 20801
// collapse the item and all its childs and thats childs
void CollapseAllChildren(const wxTreeItemId& item);
// collapse all items
void CollapseAll();
#endif // wxABI 2.8.1+
// collapse the item and remove all children
virtual void CollapseAndReset(const wxTreeItemId& item) = 0;
// toggles the current state

View File

@ -36,6 +36,9 @@
*wxListCtrl*OnRightDown*;
*wxListCtrl*OnMiddleDown*;
*wxListCtrl*FireMouseEvent*;
# wxTreeCtrl::CollapseAll[Children]() and IsEmpty
*wxTreeCtrl*CollapseAll*;
*wxTreeCtrl*IsEmpty*;
};
# symbols available since the beginning of this branch are only given