return true;
}
-bool wxDialog::XmDoCreateTLW(wxWindow* parent,
+bool wxDialog::DoCreate(wxWindow* parent,
wxWindowID id,
const wxString& title,
const wxPoint& pos,
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)
m_modalShowing = false;
m_eventLoop->Exit();
+
+ SetModal(false);
}
// Standard buttons