Corrected c_str() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1004,12 +1004,16 @@ public:
|
|||||||
void UpperCase();
|
void UpperCase();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns a pointer to the string data (@c const char* when using UTF-8
|
Returns a lightweight intermediate class which is in turn implicitly
|
||||||
internally, @c const wchar_t* when using UCS-2 internally).
|
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
|
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
|
@c wchar_t*, use char_str() or wchar_str() if you need to pass
|
||||||
string value to a function expecting non-const pointer.
|
string value to a function expecting non-const pointer.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const wxCStrData c_str() const;
|
const wxCStrData c_str() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user