imm wrote: > Just to clarify - does your code segfault on the *first* press of the > delete button, or on the *second* press of the delete button?
On the *first* press. But it's a strange crash because 10/15 sec elapse between the first press and the crash of the app. (and the widget doesn't dissapear as expected) > For me, the first time is OK, the second time is not - but that is to > be expected, since that is exactly what you have written... Yes I know, I didn't safe the prog. But even if I add "box = 0;" after deleting the widget the pb still remains. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

