From b2ceedadb12d5141966209ab4b5e096c064135c5 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 3 Jul 2008 12:13:40 +0000 Subject: [PATCH] Corrected c_str() docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/string.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/interface/wx/string.h b/interface/wx/string.h index 5daa5d3493..f8d8d715b3 100644 --- a/interface/wx/string.h +++ b/interface/wx/string.h @@ -1004,12 +1004,16 @@ public: void UpperCase(); /** - Returns a pointer to the string data (@c const char* when using UTF-8 - internally, @c const wchar_t* when using UCS-2 internally). - + Returns a lightweight intermediate class which is in turn implicitly + convertible to both @c const @c char* and to @c const @c wchar_t*. + + Please see the @ref overview_unicode "Unicode overview" for more + information about it. + Note that the returned value is not convertible to @c char* or @c wchar_t*, use char_str() or wchar_str() if you need to pass string value to a function expecting non-const pointer. + */ const wxCStrData c_str() const; -- 2.45.2