X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a302f200f1e9f5f21380bbc7ba74ad8c22d6d6..52cefafe7e85c807c92440d20afa1e4d88cc6be3:/src/xml/xml.cpp 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