matthiasm wrote:
> On Jul 3, 2007, at 4:44 PM, Stan wrote:
>
>> I inadvertently created a situation like this in an application.
>> When I run this program, click the button, and dismiss
>> the fl_alert() dialog, the window refuses to exit. I wonder
>> if it's just my cockeyed system configuration?
>
> Why would the application exit? There is still the main window open,
> so Fl::run() will not return.
Right.
If you want the app to just exit while windows are open,
you could just call either exit(0) or _exit(0), depending
on your needs. (The former calls your app's destructors,
the latter does not, exiting the app immediately)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk