update wxTreeCtrl simple code