Fix of #5058 (failing build with wx3.0)

This commit is contained in:
Lukas Matena 2020-11-04 09:29:45 +01:00
parent d576c029bd
commit ab6af3ff68

View File

@ -203,7 +203,7 @@ bool Repetier::get_groups(wxArrayString& groups) const
groups.push_back(_utf8(L("Default"))); groups.push_back(_utf8(L("Default")));
} else { } else {
// Is it safe to assume that the data are utf-8 encoded? // Is it safe to assume that the data are utf-8 encoded?
groups.push_back(wxString::FromUTF8(v.second.data())); groups.push_back(GUI::from_u8(v.second.data()));
} }
} }
} }