mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 01:25:51 +08:00
Replaced dummy string in CheckboxFileDialog::ExtraPanel
This commit is contained in:
parent
0af4de4faa
commit
cc5405e84d
@ -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),
|
// 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!
|
// which is why we have to this stuff here. Grrr!
|
||||||
auto *dlg = dynamic_cast<CheckboxFileDialog*>(parent);
|
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);
|
auto* sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
cbox = new wxCheckBox(this, wxID_ANY, checkbox_label);
|
cbox = new wxCheckBox(this, wxID_ANY, checkbox_label);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user