X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2cf617cb8160a92696f1421675963aa00cb0c2b..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/docs/latex/wx/tempfile.tex diff --git a/docs/latex/wx/tempfile.tex b/docs/latex/wx/tempfile.tex index bc21de6fcd..01a31ffdb2 100644 --- a/docs/latex/wx/tempfile.tex +++ b/docs/latex/wx/tempfile.tex @@ -66,7 +66,7 @@ Associates wxTempFile with the file to be replaced and opens it. You should use \func{bool}{Open}{\param{const wxString\& }{strName}} Open the temporary file (strName is the name of file to be replaced), returns -TRUE on success, FALSE if an error occured. +TRUE on success, FALSE if an error occurred. \membersection{wxTempFile::IsOpened}\label{wxtempfileisopened} \constfunc{bool}{IsOpened}{\void} @@ -81,10 +81,13 @@ Write to the file, return TRUE on success, FALSE on failure. \membersection{wxTempFile::Write}\label{wxtempfilewrites} -\func{bool}{Write}{\param{const wxString\& }{str}} +\func{bool}{Write}{\param{const wxString\& }{str}, \param{wxMBConv&}{ conv = wxConvLibc}} Write to the file, return TRUE on success, FALSE on failure. +The second argument is only meaningful in Unicode build of wxWindows when +{\it conv} is used to convert {\it str} to multibyte representation. + \membersection{wxTempFile::Commit}\label{wxtempfilecommit} \func{bool}{Commit}{\void}