mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Carrying over r11173 fix to the new 1.3 porting branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -116,6 +116,11 @@ Fl_Tree_Item::~Fl_Tree_Item() {
|
||||
_usericon = 0; // user handled allocation
|
||||
#if FLTK_ABI_VERSION >= 10304
|
||||
if ( _userdeicon ) delete _userdeicon; // delete our copy (if any) for deactivated icon
|
||||
#endif
|
||||
#if FLTK_ABI_VERSION >= 10303
|
||||
// focus item? set to null
|
||||
if ( _tree && this == _tree->_item_focus )
|
||||
{ _tree->_item_focus = 0; }
|
||||
#endif
|
||||
//_children.clear(); // array's destructor handles itself
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user