More string conversion cleanup.

This commit is contained in:
Jordan Woyak
2013-03-03 18:40:50 -06:00
parent 6026b29844
commit bdc96342ba
3 changed files with 3 additions and 4 deletions

View File

@ -445,7 +445,7 @@ bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int /*Style*
std::string wxStringTranslator(const char *text)
{
return WxStrToStr(wxGetTranslation(wxString::From8BitData(text)));
return WxStrToStr(wxGetTranslation(wxString::FromUTF8(text)));
}
// Accessor for the main window class