MacArthur, Ian (SELEX GALILEO, UK) wrote:

> Fl::run() will return if all the windows are hidden, so just calling 
> 
>    main_window->hide();
> 
> should do the trick.
> 
> Deleting the window is seldom useful - the system will reap the window's 
> children on application exit anyway, which may be what's triggering your 
> double-free warnings I'd guess.
> 

Thanks a lot! I thought that hidden things come back again :-) I
expected something like destroy, kill or remove. Hide sounds not so
final to me :-)

Regards
 Klaus
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to