wxwidgets/samples
Vadim Zeitlin dcee1cd025 Improve behaviour of "force closing" wxDocuments
When the document was forced to close, OnSaveModified() was still called
and allowed the user to cancel closing the document -- but it was still
closed after OnSaveModified() returned.

Be more upfront about it and tell the user that the document will be
closed anyhow, but still propose them to save it if necessary.

An alternative solution might be to just deprecate "force closing"
entirely, as this seems very user-unfriendly.
2022-07-15 00:41:58 +01:00
..
access Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
animate Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
archive Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
artprov Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
aui Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
calendar Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
caret Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
clipboard Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
collpane Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
combo Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
config Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
console Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
dataview Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
debugrpt Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
dialogs Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
dialup Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
display Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
dll Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
dnd Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
docview Improve behaviour of "force closing" wxDocuments 2022-07-15 00:41:58 +01:00
dragimag Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
drawing Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
erase Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
event Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
except Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
exec Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
font Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
fswatcher Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
grid Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
help Remove inexistent USE_HELP.html from samples/help makefile 2022-06-23 22:41:09 +01:00
htlbox Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
html Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
image Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
internat Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
ipc Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
joytest Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
keyboard Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
layout Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
listctrl Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
mdi Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
mediaplayer Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
memcheck Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
menu Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
mfc Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
minimal Update the required wx versions in the sample CMakefile 2022-06-21 00:55:25 +02:00
nativdlg Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
notebook Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
oleauto Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
opengl Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
ownerdrw Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
popup Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
power Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
preferences Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
printing Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
propgrid Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
regtest Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
render Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
ribbon Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
richtext Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
sashtest Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
scroll Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
secretstore Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
shaped Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
sockets Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
sound Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
splash Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
splitter Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
statbar Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
stc Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
svg Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
taborder Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
taskbar Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
taskbarbutton Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
text Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
thread Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
toolbar Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
treectrl Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
treelist Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
typetest Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
uiaction Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
validate Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
vscroll Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
webrequest Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
webview Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
widgets Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
wizard Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
wrapsizer Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
xrc Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
xti Update version to 3.2.0 and rebake and rerun autoconf 2022-06-21 00:54:26 +02:00
makefile.gcc Update to bakefile 0.2.13 to fix DLL directory creation 2022-04-23 23:11:31 +02:00
Makefile.in Build samples in parallel with "make -jN" 2017-08-15 19:16:27 +02:00
makefile.vc Update to bakefile 0.2.13 to fix DLL directory creation 2022-04-23 23:11:31 +02:00
sample.ico Update sample icon to use new logo image in more resolutions 2021-07-06 12:53:39 +01:00
sample.rc Don't override wxUSE_DPI_AWARE_MANIFEST in resource file 2022-04-21 22:04:10 +02:00
sample.xpm Update sample icon to use new logo image in more resolutions 2021-07-06 12:53:39 +01:00
samples.bkl Add treelist sample to the main samples bakefile 2022-01-14 22:53:24 +01:00