|
|
commit b2498781dee44b23632f79ab97f219c86981d40a
Author: Matthias Melcher <github@matthiasm.com>
AuthorDate: Tue Jan 11 23:01:48 2022 +0100
Commit: Matthias Melcher <github@matthiasm.com>
CommitDate: Tue Jan 11 23:01:48 2022 +0100
Reintroducing delet o;
fluid/Fl_Widget_Type.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git fluid/Fl_Widget_Type.cxx fluid/Fl_Widget_Type.cxx
index e0f9d31..b35355f 100644
--- fluid/Fl_Widget_Type.cxx
+++ fluid/Fl_Widget_Type.cxx
@@ -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_);
[ Direct Link to Message ] | |
|
| |