diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index a7e4fc8aa6..dae891831b 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -293,6 +293,14 @@ bool wxDialog::Show( bool show ) m_isShown = show; + if (show) + { + // 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 + InitDialog(); + } + if (show) { if (!wxUSE_INVISIBLE_RESIZE)