Centre wxMessageDialog in wxQt too
Do this for consistency with the other ports. Closes https://github.com/wxWidgets/wxWidgets/pull/1347
This commit is contained in:
committed by
Vadim Zeitlin
parent
8b489f53d6
commit
655205af77
@@ -110,6 +110,8 @@ wxMessageDialog::wxMessageDialog( wxWindow *parent, const wxString& message,
|
||||
dlg->setWindowModality( Qt::ApplicationModal );
|
||||
|
||||
PostCreation();
|
||||
|
||||
Centre(wxBOTH | wxCENTER_FRAME);
|
||||
}
|
||||
|
||||
wxIMPLEMENT_CLASS(wxMessageDialog,wxDialog);
|
||||
|
Reference in New Issue
Block a user