X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a302f200f1e9f5f21380bbc7ba74ad8c22d6d6..c9d13e86a698164843715665624ccb929e37255c:/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