Improvement in the subtitution information dialog.

This commit is contained in:
bubnikv 2021-07-01 16:48:38 +02:00 committed by Vojtech Bubnik
parent 14330b02b3
commit 16104587ac
4 changed files with 35 additions and 30 deletions

View file

@ -214,8 +214,8 @@ MessageDialog::MessageDialog(wxWindow* parent,
// InfoDialog
InfoDialog::InfoDialog(wxWindow* parent, const wxString& msg)
: MsgDialog(parent, wxString::Format(_L("%s information"), SLIC3R_APP_NAME), _L("Note that"))
InfoDialog::InfoDialog(wxWindow* parent, const wxString &title, const wxString& msg)
: MsgDialog(parent, wxString::Format(_L("%s information"), SLIC3R_APP_NAME), title)
, msg(msg)
{
this->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));