Send wxInitDialogEvent under wxMotif.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-09-18 22:48:51 +00:00
parent 40711af81b
commit b3090d48b4

View File

@@ -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)