]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/ffile.tex
added null pointer check and assert
[wxWidgets.git] / docs / latex / wx / ffile.tex
index e4b09dbb036db9ed9727b5f5ada8caedc54da817..611569f1f972323abfc0d1d2c7da6512e2fae0b7 100644 (file)
@@ -25,6 +25,10 @@ None.
 
 <wx/ffile.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \twocolwidtha{7cm}
 \begin{twocollist}\itemsep=0pt%
 \twocolitem{{\bf wxFromStart}}{Count offset from the start of the file}
@@ -210,7 +214,7 @@ The number of bytes read.
 
 \membersection{wxFFile::ReadAll}\label{wxffilereadall}
 
-\func{bool}{ReadAll}{\param{wxString *}{ str}, \param{wxMBConv\&}{ conv = wxConvUTF8}}
+\func{bool}{ReadAll}{\param{wxString *}{ str}, \param{const wxMBConv\&}{ conv = wxConvAuto()}}
 
 Reads the entire contents of the file into a string.
 
@@ -277,7 +281,7 @@ Number of bytes written.
 
 \membersection{wxFFile::Write}\label{wxffilewrites}
 
-\func{bool}{Write}{\param{const wxString\& }{s}, \param{wxMBConv\&}{ conv = wxConvUTF8}}
+\func{bool}{Write}{\param{const wxString\& }{s}, \param{const wxMBConv\&}{ conv = wxConvAuto()}}
 
 Writes the contents of the string to the file, returns \true on success.