Buildfix.

This commit is contained in:
Jordan Woyak
2013-02-28 03:11:10 -06:00
parent 03ec9a2e08
commit 95558cdc69
3 changed files with 4 additions and 3 deletions

View File

@ -57,10 +57,11 @@ void Explore(const char *path)
std::string WxStrToStr(const wxString& str)
{
return str.ToUTF8();
return str.ToUTF8().data();
}
wxString StrToWxStr(const std::string& str)
{
//return wxString::FromUTF8Unchecked(str.c_str());
return wxString::FromUTF8(str.c_str());
}