diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-10-19 16:35:39 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-10-19 16:35:39 +0300 |
commit | cc5405e84d5de440a7aaa1220df14880b7b19da0 (patch) | |
tree | 1febfeeb7368d92c2435f0c098687586f71de21f /src/slic3r/GUI/GUI_Utils.cpp | |
parent | 0af4de4faab4024e330dfc5822db73c549c3235b (diff) |
Replaced dummy string in CheckboxFileDialog::ExtraPanel
Diffstat (limited to 'src/slic3r/GUI/GUI_Utils.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_Utils.cpp b/src/slic3r/GUI/GUI_Utils.cpp index d1437d9b8..fb494ed23 100644 --- a/src/slic3r/GUI/GUI_Utils.cpp +++ b/src/slic3r/GUI/GUI_Utils.cpp @@ -24,7 +24,7 @@ CheckboxFileDialog::ExtraPanel::ExtraPanel(wxWindow *parent) // Additionally there's no way to pass any extra data to the create function (no closure), // which is why we have to this stuff here. Grrr! auto *dlg = dynamic_cast<CheckboxFileDialog*>(parent); - const wxString checkbox_label(dlg != nullptr ? dlg->checkbox_label : wxString()); + const wxString checkbox_label(dlg != nullptr ? dlg->checkbox_label : wxString("String long enough to contain dlg->checkbox_label")); auto* sizer = new wxBoxSizer(wxHORIZONTAL); cbox = new wxCheckBox(this, wxID_ANY, checkbox_label); |