mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
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:
@@ -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'.
|
||||||
|
|||||||
Reference in New Issue
Block a user