Files
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
..
2000-08-24 10:58:27 +00:00
2022-01-14 22:51:24 +01:00
2020-05-02 17:02:36 +02:00
2011-10-18 21:57:02 +00:00