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:
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user