Improvement in the subtitution information dialog.

This commit is contained in:
bubnikv authored and Vojtech Bubnik committed 2021-08-13 13:49:43 +02:00
1 parent 14330b02b3
commit 16104587ac
4 files changed
+35 -30

No files matched your search

+2 -2
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));