X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c11164f0a9ed48a69d0ef3f77ae03e11671394..2e3d68e97c3717a5c7cb551fb56f8926e6a3c0d4:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index fe9a0036c2..7a4f9e3009 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -66,6 +66,9 @@ bool wxDialog::Show( bool show ) EndModal( wxID_CANCEL ); } + if (show && CanDoLayoutAdaptation()) + DoLayoutAdaptation(); + bool ret = wxWindow::Show( show ); if (show) InitDialog();