X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0aa35d19622604165d6e3b985899e59dafe08094..8b0f8432d72fc44aa7247ab1c19c04103323feea:/docs/latex/wx/wxstring.tex diff --git a/docs/latex/wx/wxstring.tex b/docs/latex/wx/wxstring.tex index 42e6044b13..9f242d2240 100644 --- a/docs/latex/wx/wxstring.tex +++ b/docs/latex/wx/wxstring.tex @@ -6,7 +6,7 @@ there, wxString implements about 90\% of methods of the std::string class (itera are not supported, nor all methods which use them). These standard functions are not documented in this manual so please see the STL documentation. The behaviour of all these functions is identical to the behaviour described -there. +there (except that wxString is sensitive to null character). You may notice that wxString sometimes has many functions which do the same thing like, for example, \helpref{Length()}{wxstringlength}, @@ -641,9 +641,11 @@ Returns a reference to the character at position {\it n}. \membersection{wxString::GetWriteBuf}\label{wxstringgetwritebuf} -\func{char*}{GetWriteBuf}{\param{size\_t}{ len}} +\func{wxChar*}{GetWriteBuf}{\param{size\_t}{ len}} Returns a writable buffer of at least {\it len} bytes. +It returns a pointer to a new memory block, and the +existing data will not be copied. Call \helpref{wxString::UngetWriteBuf}{wxstringungetwritebuf} as soon as possible to put the string back into a reasonable state. @@ -768,15 +770,15 @@ Same as MakeLower. \membersection{wxString::MakeLower}\label{wxstringmakelower} -\func{void}{MakeLower}{\void} +\func{wxString\&}{MakeLower}{\void} -Converts all characters to lower case. +Converts all characters to lower case and returns the result. \membersection{wxString::MakeUpper}\label{wxstringmakeupper} -\func{void}{MakeUpper}{\void} +\func{wxString\&}{MakeUpper}{\void} -Converts all characters to upper case. +Converts all characters to upper case and returns the result. \membersection{wxString::Matches}\label{wxstringmatches}