]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxUSE_STL == 1 and wxUSE_UNICODE == 1.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 8 Feb 2004 07:58:15 +0000 (07:58 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 8 Feb 2004 07:58:15 +0000 (07:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/string.h

index 3713e7b0954e711a44b8be83172397dfdd3c69f3..dc0d6497dd0b9d56afe24d9c4bdebfb20f6ea01c 100644 (file)
@@ -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) { }