X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f10e7c7582e682b19404dd1d232b7a39271fc27..cc209a518f106f39fde26f8bc8dd3d9d53dc5cc5:/src/xml/xml.cpp?ds=inline diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index 4941e6104b..278adff98f 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -485,7 +485,7 @@ static wxString CharToString(wxMBConv *conv, #endif // !wxUSE_UNICODE wxUnusedVar(conv); - return wxString::FromUTF8(s, len); + return wxString::FromUTF8Unchecked(s, len); } // returns true if the given string contains only whitespaces