From: Robert Roebling Date: Fri, 1 Aug 2008 07:16:49 +0000 (+0000) Subject: Compilation for wchar mode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6090d53c8a3eddbb6bda370badfbe8e6f90807f7 Compilation for wchar mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/ustring.h b/include/wx/ustring.h index fdb658ec77..1fdfa105a4 100644 --- a/include/wx/ustring.h +++ b/include/wx/ustring.h @@ -187,7 +187,7 @@ public: return utf16_str(); } #else - wchar_t* wx_str() + const wchar_t* wx_str() { return c_str(); }