Handle unicode in string lists in the preferences dialog

Originally committed to SVN as r6303.
This commit is contained in:
Thomas Goyne 2012-01-17 03:03:13 +00:00
parent 96211b79cf
commit 2109d677a7
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
static wxArrayString vec_to_arrstr(std::vector<std::string> const& vec) { static wxArrayString vec_to_arrstr(std::vector<std::string> const& vec) {
wxArrayString arrstr; wxArrayString arrstr;
std::copy(vec.begin(), vec.end(), std::back_inserter(arrstr)); transform(vec.begin(), vec.end(), std::back_inserter(arrstr), &lagi_wxString);
return arrstr; return arrstr;
} }