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:
@@ -172,8 +172,10 @@ public:
|
|||||||
virtual bool IsSelected(const wxTreeItemId& item) const = 0;
|
virtual bool IsSelected(const wxTreeItemId& item) const = 0;
|
||||||
// is item text in bold font?
|
// is item text in bold font?
|
||||||
virtual bool IsBold(const wxTreeItemId& item) const = 0;
|
virtual bool IsBold(const wxTreeItemId& item) const = 0;
|
||||||
|
#if wxABI_VERSION >= 20801
|
||||||
// is the control empty?
|
// is the control empty?
|
||||||
bool IsEmpty() const;
|
bool IsEmpty() const;
|
||||||
|
#endif // wxABI 2.8.1+
|
||||||
|
|
||||||
|
|
||||||
// number of children
|
// number of children
|
||||||
@@ -296,10 +298,12 @@ public:
|
|||||||
void ExpandAll();
|
void ExpandAll();
|
||||||
// collapse the item without removing its children
|
// collapse the item without removing its children
|
||||||
virtual void Collapse(const wxTreeItemId& item) = 0;
|
virtual void Collapse(const wxTreeItemId& item) = 0;
|
||||||
|
#if wxABI_VERSION >= 20801
|
||||||
// collapse the item and all its childs and thats childs
|
// collapse the item and all its childs and thats childs
|
||||||
void CollapseAllChildren(const wxTreeItemId& item);
|
void CollapseAllChildren(const wxTreeItemId& item);
|
||||||
// collapse all items
|
// collapse all items
|
||||||
void CollapseAll();
|
void CollapseAll();
|
||||||
|
#endif // wxABI 2.8.1+
|
||||||
// collapse the item and remove all children
|
// collapse the item and remove all children
|
||||||
virtual void CollapseAndReset(const wxTreeItemId& item) = 0;
|
virtual void CollapseAndReset(const wxTreeItemId& item) = 0;
|
||||||
// toggles the current state
|
// toggles the current state
|
||||||
|
@@ -36,6 +36,9 @@
|
|||||||
*wxListCtrl*OnRightDown*;
|
*wxListCtrl*OnRightDown*;
|
||||||
*wxListCtrl*OnMiddleDown*;
|
*wxListCtrl*OnMiddleDown*;
|
||||||
*wxListCtrl*FireMouseEvent*;
|
*wxListCtrl*FireMouseEvent*;
|
||||||
|
# wxTreeCtrl::CollapseAll[Children]() and IsEmpty
|
||||||
|
*wxTreeCtrl*CollapseAll*;
|
||||||
|
*wxTreeCtrl*IsEmpty*;
|
||||||
};
|
};
|
||||||
|
|
||||||
# symbols available since the beginning of this branch are only given
|
# symbols available since the beginning of this branch are only given
|
||||||
|
Reference in New Issue
Block a user