]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() to version-script and use...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jan 2007 15:53:03 +0000 (15:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jan 2007 15:53:03 +0000 (15:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/treectrl.h
version-script.in

index 923d1b945afe23be131563a04b0a71a1535ca442..a2c307834c66656b918bbe2555e1633d8b139b01 100644 (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;
     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;
         // is the control empty?
     bool IsEmpty() const;
+#endif // wxABI 2.8.1+
 
 
     // number of children
 
 
     // number of children
@@ -296,10 +298,12 @@ public:
     void ExpandAll();
         // collapse the item without removing its children
     virtual void Collapse(const wxTreeItemId& item) = 0;
     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();
         // 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
         // collapse the item and remove all children
     virtual void CollapseAndReset(const wxTreeItemId& item) = 0;
         // toggles the current state
index 3f88db131dbb53bbaecb171299ec78e46ae5acca..771a66edc63d9c76bee91544b8f427e211421fdd 100644 (file)
@@ -36,6 +36,9 @@
                *wxListCtrl*OnRightDown*;
                *wxListCtrl*OnMiddleDown*;
                *wxListCtrl*FireMouseEvent*;
                *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
 };
 
 # symbols available since the beginning of this branch are only given