From: Mattia Barbon Date: Sun, 8 Feb 2004 07:58:15 +0000 (+0000) Subject: Compilation fix for wxUSE_STL == 1 and wxUSE_UNICODE == 1. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6e94fff95aea3738611fb9c251e1ff089ea2eaff 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 --- 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) { }