mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-06 01:46:08 +08:00
Match prototype for add_options_page
This commit is contained in:
parent
2f74ea3a44
commit
4b92bb4ebf
@ -97,7 +97,7 @@ void PresetEditor::select_preset_by_name(const wxString& name, bool force) {
|
|||||||
this->_on_select_preset(force);
|
this->_on_select_preset(force);
|
||||||
}
|
}
|
||||||
|
|
||||||
PresetPage* PresetEditor::add_options_page(wxString _title, wxString _icon) {
|
PresetPage* PresetEditor::add_options_page(const wxString& _title, const wxString& _icon) {
|
||||||
|
|
||||||
if (_icon.size() > 0) {
|
if (_icon.size() > 0) {
|
||||||
auto* bitmap { new wxBitmap(var(_icon), wxBITMAPT_TYPE_PNG);
|
auto* bitmap { new wxBitmap(var(_icon), wxBITMAPT_TYPE_PNG);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user