X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4813bb8d72d4e6821e031f2b19baaa338b714d39..9b66a1d31a32e9235792261db6ff755ce26ab5c1:/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();