]> git.saurik.com Git - wxWidgets.git/commitdiff
Added dummy DeleteChildren so the sample will at least link.
authorJulian Smart <julian@anthemion.co.uk>
Fri, 18 Dec 1998 14:53:13 +0000 (14:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 18 Dec 1998 14:53:13 +0000 (14:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/treectrl.cpp

index 7fcab3a9a81f10dc2cef5467cb3cd97a5db9c00a..2d8791a9be659843faaf07fb5fb04ed799b5f49d 100644 (file)
@@ -756,6 +756,13 @@ size_t wxTreeCtrl::GetChildrenCount(const wxTreeItemId& item, bool recursively)
     return 0;
 }
 
+// delete all children (but don't delete the item itself)
+// NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+void wxTreeCtrl::DeleteChildren(const wxTreeItemId& item)
+{
+    // TODO
+}
+
 // ----------------------------------------------------------------------------
 // implementation
 // ----------------------------------------------------------------------------