]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
__WIN16__ not defined any more for !MSW build
[wxWidgets.git] / include / wx / msw / treectrl.h
index 021c68d66a8a2ef4b9f05b96749f1b9a74aa24ca..1c2dd8b34899ed1cf9f8ba9f1ccc339b5857f335 100644 (file)
@@ -250,6 +250,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
     // ----------