HyperTreeList howto achieve ClearAll like functionality?

Looking at the HyperTreeList API, I don’t see a function to get the first item, so I can then call DeleteChildren on it… and keep doing that in a loop until there are no entries in the tree left.

How do I accomplish this?

I guess the docs are messed up, you have to look here for more methods:
http://docs.wxwidgets.org/3.0/classwx_tree_list_ctrl.html

The method I want, I believe, is DeleteAllItems()

Now I’m having some issue where I can’t see anything I’ve added when the HyperTreeList it is contained in a SplitterWindow

···

On Wednesday, May 28, 2014 1:46:52 PM UTC-7, Nathan McCorkle wrote:

Looking at the HyperTreeList API, I don’t see a function to get the first item, so I can then call DeleteChildren on it… and keep doing that in a loop until there are no entries in the tree left.

How do I accomplish this?

Took care of that, I was using the SplitterWindow subclass (self) as the parent, rather than one of panels I’m splitting with!

···

On Wednesday, May 28, 2014 3:30:30 PM UTC-7, Nathan McCorkle wrote:

Now I’m having some issue where I can’t see anything I’ve added when the HyperTreeList it is contained in a SplitterWindow