From 6090d53c8a3eddbb6bda370badfbe8e6f90807f7 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 1 Aug 2008 07:16:49 +0000 Subject: [PATCH] Compilation for wchar mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/ustring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }