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) { }