DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L1894 Version: 1.2-current "Don't mix ..." is a good recommendation, but I need some time to think about it and do more tests, and it's already late here ... As it seems now, it should be taken care that all static and/or automatic objects (this does also include embedded widgets in derived groups like the scrollbars in Fl_Scroll) _must_ be removed from their parent groups before the parent group will be deleted. Otherwise it could happen that Fl_Scroll might access deleted widgets, or - even worse - widgets could be deleted twice. I didn't look into the code of menus yet, but from what I saw with some printf's in Fl_Group::clear(), I'd assume that static Fl_Menu_Items would be added to a menu window to display the menu hierarchie. They should be removed before deleting the menu window, too. I'll keep you updated, if I find more. Link: http://www.fltk.org/str.php?L1894 Version: 1.2-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
