wxWidgets/samples/dialogs
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
..
descrip.mms Committing in . 2000-08-24 10:58:27 +00:00
dialogs_vc7.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dialogs_vc8.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dialogs_vc9.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
dialogs.bkl Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
dialogs.cpp Prevent constant size changes in native MSW wxProgressDialog 2017-11-16 01:35:48 +01:00
dialogs.h Restructure wxNotificationMessage. 2016-02-10 20:38:10 +01:00
makefile.bcc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.gcc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
Makefile.in Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.unx Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.vc Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
tip.xpm Added wxRichToolTip class. 2011-10-18 21:57:02 +00:00
tips.txt Applied patch [ 600500 ] Tip-of-day: comments, translatable 2002-08-31 12:08:02 +00:00