Re: wxEuphoria: delete_tree_item() Not Working
- Posted by euphoric (admin) Apr 16, 2015
- 1126 views
ghaberek said...
If you want to clear a wxTreeCtrl, just delete the root item.
atom root = get_tree_root( tree ) delete_tree_item( tree, root )
Thanks for the heads-up, Greg. I swear the code I had was working before to clear the tree. Weird!
Your suggestion seems to work for me now. Thank you!