X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4e3bbb44783c651ac51665794a7ffcb8dff7eb6..93c2f401e9955dc37df1f8dbfea7881c676b8ddb:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index eb2d9d442d..c638d436ec 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1118,7 +1118,7 @@ wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength) //Do the actual conversion & Set the length of the buffer internalBuffer.SetLength( - conv.WC2MB(*this, pwz, dwConvLen + 1, nLen) + conv.WC2MB(internalBuffer, pwz, dwConvLen + 1, nLen) ); } }