Mercurial > dwindows
diff mac/dw.m @ 1528:5facb5380944
Added dw_main_quit() function for exiting the dw_main() loop.
Also some cleanups added to dw_exit() on OS/2 and Windows.
Changed OS/2 to no longer destroy the message queue when leaving dw_main()... it should be done in dw_exit().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 05 Jan 2012 15:45:11 +0000 |
parents | 9bab702bd6c1 |
children | 92bed442620a |
line wrap: on
line diff
--- a/mac/dw.m Tue Jan 03 15:59:00 2012 +0000 +++ b/mac/dw.m Thu Jan 05 15:45:11 2012 +0000 @@ -2816,6 +2816,14 @@ } /* + * Causes running dw_main() to return. + */ +void API dw_main_quit(void) +{ + [DWApp stop]; +} + +/* * Runs a message loop for Dynamic Windows, for a period of milliseconds. * Parameters: * milliseconds: Number of milliseconds to run the loop for.