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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user