> > Actually, you're not supposed to delete FLTK widgets with C++ delete, > > FLTK must handle the deletion to ensure the widget(s) are properly > > disconnected from the widget tree correctly. > > > > I believe what you want is Fl::delete_widget() which will schedule
This must be something new. I am using FLTK-1.1.7 but my printed documentation is still 1.1.3 and there is no mention of this. I guess I need a new printout of 1.1.7. Tha is what happens when you work with something for so long. Also, the documentation should mention delete_widget() in Fl_Window and Fl_Widget classes or somehow call delete_widget() from the destructors. I will try it and report my outcome. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

