X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f3f920ba3601249efdd84efc1a9299d80d1b4f..1718ef3b370df5c7fc6ff6a6ff6bb011e39b604f:/src/os2/dialog.cpp?ds=inline 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