More carry from r11173 to porting..

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2016-03-14 17:25:06 +00:00
parent 91e747bbda
commit 3e0e68bb59
+1
View File
@@ -1135,6 +1135,7 @@ void Fl_Tree::clear() {
if ( ! _root ) return; if ( ! _root ) return;
_root->clear_children(); _root->clear_children();
delete _root; _root = 0; delete _root; _root = 0;
_item_focus = 0;
} }
/// Clear all the children for \p 'item'. /// Clear all the children for \p 'item'.