FLTK logo

[master] b249878 - Reintroducing delet o;

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] b249878 - Reintroducing delet o; "Matthias Melcher" Jan 11, 2022  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.