Stupid beginner question:

I have a main window with a menu bar. One of the menus should be "&Exit"
and the callback should terminate the application.

As I read, I should delete the main window. If I do a
Fl::delete_widget(win) my application crashes with double free corruption.

Any hints?

Regards
 Klaus
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to