X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f3f920ba3601249efdd84efc1a9299d80d1b4f..763163a80ae0d5a0684633e72f928302578c1214:/src/os2/dialog.cpp diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index e17a1414d8..abb905f2f8 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -212,6 +212,9 @@ bool wxDialog::Show( bool bShow ) if (bShow) { + if (CanDoLayoutAdaptation()) + DoLayoutAdaptation(); + // this usually will result in TransferDataToWindow() being called // which will change the controls values so do it before showing as // otherwise we could have some flicker