wxWidgets/samples
Vadim Zeitlin 0736bdfb28 Prevent constant size changes in native MSW wxProgressDialog
MSW implementation of wxProgressDialog adjusted the dialog size to the
size of the message shown in it on each update, resulting in visually
unpleasant constant jumping around (this is the same problem that we
used to have in wxGenericProgressDialog long time ago, see #10624).

Minimize this by using TDM_UPDATE_ELEMENT_TEXT instead of
TDM_SET_ELEMENT_TEXT for changing the element text. This still increases
the dialog size if the new element text is longer than the old value,
but at least doesn't shrink it back if it is shorter, which is already
quite an improvement.

Notice that this change requires using TDF_EXPAND_FOOTER_AREA style, as
otherwise the expanded information can't be updated without a re-layout.
But this doesn't seem to be a big loss and it's not really clear why did
we explicitly clear this flag before anyhow.

Update the dialogs sample to make it easy to test for this behaviour and
the documentation to mention MSW version peculiarities.
2017-11-16 01:35:48 +01:00
..
access Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
animate Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
artprov Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
aui Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
calendar Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
caret Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
clipboard Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
collpane Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
combo Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
config Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
console Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dataview Merge branch 'remove-mac-res' 2017-10-21 22:11:42 +02:00
debugrpt Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dialogs Prevent constant size changes in native MSW wxProgressDialog 2017-11-16 01:35:48 +01:00
dialup Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
display Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dll Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dnd Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
docview Remove old Carbon Mac resource files themselves 2017-10-21 17:49:34 +02:00
dragimag Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
drawing Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
erase Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
event Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
except Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
exec Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
flash Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
font Remove accidental global variable from the font sample 2017-11-07 18:28:54 +01:00
fswatcher Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
grid Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
help Remove cp commands copying removed files from help sample 2017-11-05 16:47:25 +01:00
htlbox Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
html Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
image Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
internat Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
ipc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
joytest Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
keyboard Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
layout Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
listctrl Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mdi Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mediaplayer Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
memcheck Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
menu Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mfc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
minimal Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
nativdlg Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
notebook Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
oleauto Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
opengl Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
ownerdrw Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
popup Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
power Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
preferences Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
printing Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
propgrid Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
regtest Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
render Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
ribbon Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
richtext Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
sashtest Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
scroll Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
secretstore Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
shaped Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
sockets Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
sound Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
splash Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
splitter Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
statbar Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
stc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
svg Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
taborder Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
taskbar Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
taskbarbutton Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
text Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
thread Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
toolbar Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
treectrl Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
treelist Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
typetest Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
uiaction Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
validate Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
vscroll Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
webview Allow webview sample to build without wxSTC 2017-11-14 00:09:08 +01:00
widgets Move GTK3 wxNO_BORDER handling to wxControl 2017-11-15 10:51:38 -08:00
wizard Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
wrapsizer Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
xrc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
xti Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
Info.plist Update year in copyright notices to 2017 2017-01-04 11:25:00 +01:00
makefile.bcc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
makefile.gcc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
Makefile.in Build samples in parallel with "make -jN" 2017-08-15 19:16:27 +02:00
makefile.vc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
sample.ico added common (for all samples) .ico/.r/.rc files 2003-08-06 12:27:23 +00:00
sample.rc Remove obsolete symbols from the samples 2015-12-03 22:11:04 +01:00
sample.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
samples.bkl Fix STC samples being compiled when USE_STC=0 2017-02-12 15:17:22 +02:00