X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..3cb99894576612e347480d43c5f2e2550b6151cf:/docs/latex/wx/file.tex diff --git a/docs/latex/wx/file.tex b/docs/latex/wx/file.tex index d8885f878d..427897947c 100644 --- a/docs/latex/wx/file.tex +++ b/docs/latex/wx/file.tex @@ -291,10 +291,14 @@ the number of bytes actually written \membersection{wxFile::Write}\label{wxfilewrites} -\func{bool}{Write}{\param{const wxString\& }{s}, \param{wxMBConv\&}{ conv = wxConvLibc}} +\func{bool}{Write}{\param{const wxString\& }{s}, \param{wxMBConv\&}{ conv = wxConvUTF8}} Writes the contents of the string to the file, returns true on success. The second argument is only meaningful in Unicode build of wxWindows when {\it conv} is used to convert {\it s} to multibyte representation. +Note that this method only works with {\tt NUL}-terminated strings, if you want +to write data with embedded {\tt NUL}s to the file you should use the other +\helpref{Write() overload}{wxfilewrite}. +