X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44b62d54c61e4a0989fcc0f24eecfe0bd883d72b..d67c33888f65e236adedd65ffbd978607eadc9d5:/docs/latex/wx/tempfile.tex

diff --git a/docs/latex/wx/tempfile.tex b/docs/latex/wx/tempfile.tex
index 1bb2f1bf9d..e90dd57487 100644
--- a/docs/latex/wx/tempfile.tex
+++ b/docs/latex/wx/tempfile.tex
@@ -41,9 +41,14 @@ No base class
 
 <wx/file.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{See also:}
 
-\helpref{wxFile}{wxfile}
+\helpref{wxFile}{wxfile}\\
+\helpref{wxTempFileOutputStream}{wxtempfileoutputstream}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
@@ -65,7 +70,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, returns {\tt TRUE} on success, {\tt FALSE} if an error
+Open the temporary file, returns {\tt true} on success, {\tt false} if an error
 occurred.
 
 {\it strName} is the name of file to be replaced. The temporary file is always
@@ -77,21 +82,40 @@ and the program should have write access to it for the function to succeed.
 
 \constfunc{bool}{IsOpened}{\void}
 
-Returns {\tt TRUE} if the file was successfully opened.
+Returns {\tt true} if the file was successfully opened.
+
+\membersection{wxTempFile::Length}\label{wxtempfilelength}
+
+\constfunc{wxFileOffset}{Length}{\void}
+
+Returns the length of the file.
+
+\membersection{wxTempFile::Seek}\label{wxtempfileseek}
+
+\func{wxFileOffset}{Seek}{\param{wxFileOffset }{ofs}, \param{wxSeekMode }{mode = wxFromStart}}
+
+Seeks to the specified position.
+
+\membersection{wxTempFile::Tell}\label{wxtempfiletell}
+
+\constfunc{wxFileOffset}{Tell}{\void}
+
+Returns the current position or wxInvalidOffset if file is not opened or if another
+error occurred.
 
 \membersection{wxTempFile::Write}\label{wxtempfilewrite}
 
 \func{bool}{Write}{\param{const void }{*p}, \param{size\_t }{n}}
 
-Write to the file, return {\tt TRUE} on success, {\tt FALSE} on failure.
+Write to the file, return {\tt true} on success, {\tt false} on failure.
 
 \membersection{wxTempFile::Write}\label{wxtempfilewrites}
 
-\func{bool}{Write}{\param{const wxString\& }{str}, \param{wxMBConv&}{ conv = wxConvLibc}}
+\func{bool}{Write}{\param{const wxString\& }{str}, \param{const wxMBConv\&}{ conv = wxConvUTF8}}
 
-Write to the file, return {\tt TRUE} on success, {\tt FALSE} on failure.
+Write to the file, return {\tt true} on success, {\tt false} on failure.
 
-The second argument is only meaningful in Unicode build of wxWindows when
+The second argument is only meaningful in Unicode build of wxWidgets when
 {\it conv} is used to convert {\it str} to multibyte representation.
 
 \membersection{wxTempFile::Commit}\label{wxtempfilecommit}
@@ -99,7 +123,7 @@ The second argument is only meaningful in Unicode build of wxWindows when
 \func{bool}{Commit}{\void}
 
 Validate changes: deletes the old file of name m\_strName and renames the new
-file to the old name. Returns {\tt TRUE} if both actions succeeded. If {\tt FALSE} is
+file to the old name. Returns {\tt true} if both actions succeeded. If {\tt false} is
 returned it may unfortunately mean two quite different things: either that
 either the old file couldn't be deleted or that the new file couldn't be renamed
 to the old name.
