wxWidgets/samples/dialogs
Lauri Nurmi 1ad25bdd5c Demonstrate how to interrupt closing an application
Add a menu item to the dialogs sample for simulating having unsaved
documents in the application. Then demonstrate how to do something
when the user attempts to close the application, e.g. show a dialog,
and possibly cancel closing.

This code was originally written for debugging some issue related to
closing an application, but besides that it serves as an example of a
very common pattern a lot of real world applications need in some form.

Mention the example in samples/dialogs in wxCloseEvent documentation
2022-02-25 00:37:58 +01:00
..
descrip.mms
dialogs_vc8.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
dialogs_vc9.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
dialogs.bkl Remove OS/2 remnants from bakefile of dialogs sample 2018-09-17 23:30:47 +02:00
dialogs.cpp Demonstrate how to interrupt closing an application 2022-02-25 00:37:58 +01:00
dialogs.h Demonstrate how to interrupt closing an application 2022-02-25 00:37:58 +01:00
makefile.gcc Link with ws2_32.lib rather than obsolete wsock32.lib 2021-04-18 22:13:45 +02:00
Makefile.in Rebake after the year change 2022-01-14 22:51:24 +01:00
makefile.unx Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.vc Use DPI aware manifests for MSVS 2022 too 2021-12-18 13:22:59 +01:00
tip.xpm
tips.txt