Re: wxEuphoria: delete_tree_item() Not Working

new topic     » goto parent     » topic index » view thread      » older message » newer message
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!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu