X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2cf617cb8160a92696f1421675963aa00cb0c2b..8b6e6947fc8fb946391740d66b140413eccb6b6c:/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}