Fix of #6650 - show estimated print time on ruler is not working

+ Parent center of the MessageDialogs
This commit is contained in:
YuSanka 2021-06-24 13:59:48 +02:00
parent 83285e3c4e
commit 1378d2084a
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@ MsgDialog::MsgDialog(wxWindow *parent, const wxString &title, const wxString &he
boldfont.SetWeight(wxFONTWEIGHT_BOLD);
this->SetFont(wxGetApp().normal_font());
this->CenterOnParent();
auto *topsizer = new wxBoxSizer(wxHORIZONTAL);
auto *rightsizer = new wxBoxSizer(wxVERTICAL);