From 6e94fff95aea3738611fb9c251e1ff089ea2eaff Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 8 Feb 2004 07:58:15 +0000 Subject: [PATCH] Compilation fix for wxUSE_STL == 1 and wxUSE_UNICODE == 1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index 3713e7b095..dc0d6497dd 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -1149,7 +1149,7 @@ public: : wxStringBase(str, nPos, nLen) { } // take all characters from pStart to pEnd wxString(const void *pStart, const void *pEnd) - : wxStringBase((const char*)pStart, (const char*)pEnd) { } + : wxStringBase((const wxChar*)pStart, (const wxChar*)pEnd) { } #if wxUSE_STL wxString(const_iterator first, const_iterator last) : wxStringBase(first, last) { } -- 2.50.0