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