0736bdfb28
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. |
||
---|---|---|
.. | ||
wx | ||
check_syntax.sh |