]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
* Renamed fstream.h in wfstream.h
[wxWidgets.git] / include / wx / generic / treectrl.h
index 7b79534513aea68c9d75fe60b422ab626ccb88e7..313c86d6d450d6553997f3b3198aca27842864e2 100644 (file)
@@ -268,6 +268,13 @@ public:
         // is this item currently selected (the same as has focus)?
     bool IsSelected(const wxTreeItemId& item) const;
 
+    // number of children
+    // ------------------
+
+        // if 'recursively' is FALSE, only immediate children count, otherwise
+        // the returned number is the number of all items in this branch
+    size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
+
     // navigation
     // ----------