fix const error on sane (not msvc) compilers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-10-31 06:13:18 +00:00
parent 92ea30ce14
commit dbb6c0a968

View File

@@ -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)
);
}
}