X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4813bb8d72d4e6821e031f2b19baaa338b714d39..94f0292941b6520afbabc999da698ef5fe576a46:/src/gtk1/dialog.cpp diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 007c13df28..540910d9dc 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -162,6 +162,9 @@ bool wxDialog::Show( bool show ) GtkOnSize( m_x, m_y, m_width, m_height ); } + if (show && CanDoLayoutAdaptation()) + DoLayoutAdaptation(); + bool ret = wxWindow::Show( show ); if (show) InitDialog();