]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
Reverted renderer changes and just use window variant within renderer functions
[wxWidgets.git] / include / wx / treectrl.h
index e964012a4f4ae4a68017f9c593f7d413116a3e16..923d1b945afe23be131563a04b0a71a1535ca442 100644 (file)
@@ -172,6 +172,9 @@ public:
     virtual bool IsSelected(const wxTreeItemId& item) const = 0;
         // is item text in bold font?
     virtual bool IsBold(const wxTreeItemId& item) const = 0;
+        // is the control empty?
+    bool IsEmpty() const;
+
 
     // number of children
     // ------------------
@@ -293,6 +296,10 @@ public:
     void ExpandAll();
         // collapse the item without removing its children
     virtual void Collapse(const wxTreeItemId& item) = 0;
+        // collapse the item and all its childs and thats childs
+    void CollapseAllChildren(const wxTreeItemId& item);
+        // collapse all items
+    void CollapseAll();
         // collapse the item and remove all children
     virtual void CollapseAndReset(const wxTreeItemId& item) = 0;
         // toggles the current state