Don't call PostCreation() for wxMessageDialog
Other dialogs don't do it and it doesn't seem to be really useful for them.
This commit is contained in:
parent
57349c2aaa
commit
6cc4662651
1 changed files with 0 additions and 2 deletions
|
|
@ -109,8 +109,6 @@ wxMessageDialog::wxMessageDialog( wxWindow *parent, const wxString& message,
|
||||||
if ( style & wxSTAY_ON_TOP )
|
if ( style & wxSTAY_ON_TOP )
|
||||||
dlg->setWindowModality( Qt::ApplicationModal );
|
dlg->setWindowModality( Qt::ApplicationModal );
|
||||||
|
|
||||||
PostCreation(false);
|
|
||||||
|
|
||||||
Centre(wxBOTH | wxCENTER_FRAME);
|
Centre(wxBOTH | wxCENTER_FRAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue