From 08388d3daac2527ed65516e405c626e51aa5396b Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 20 May 2019 12:22:08 +0200 Subject: [PATCH] Fix of the previous commit --- src/slic3r/GUI/Field.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index 1d76924c9c..30b95d82aa 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;