mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
Reintroducing delet o;
This commit is contained in:
@@ -219,7 +219,7 @@ Fl_Widget_Type::~Fl_Widget_Type() {
|
||||
win->redraw();
|
||||
if (o->parent())
|
||||
((Fl_Group*)o->parent())->remove(*o);
|
||||
Fl::delete_widget(o);
|
||||
delete o;
|
||||
}
|
||||
if (subclass_) free((void*)subclass_);
|
||||
if (tooltip_) free((void*)tooltip_);
|
||||
|
||||
Reference in New Issue
Block a user