diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index 1d76924c9c3..30b95d82aad 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -900,7 +900,7 @@ void Choice::msw_rescale() size_t counter = 0; bool labels = ! m_opt.enum_labels.empty(); for (const std::string &el : labels ? m_opt.enum_labels : m_opt.enum_values) { - wxString text = labels ? _(el) : wxString::ToUTF8(el.c_str()); + wxString text = labels ? _(el) : wxString::FromUTF8(el.c_str()); field->Append(text); if (text == selection) idx = counter;