From dbb6c0a96899cefd0fa96555cd9d45fc57800571 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sun, 31 Oct 2004 06:13:18 +0000 Subject: [PATCH] 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 --- src/common/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); } } -- 2.45.2