]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/outptstr.tex
silence gcc warnings about values not handled in switch
[wxWidgets.git] / docs / latex / wx / outptstr.tex
index 2be79230adcd51c1194df6fd7b56e795154eede4..1c61a7c606455d6b8a72d333df5029d2984a41a4 100644 (file)
@@ -19,20 +19,33 @@ wxOutputStream is an abstract base class which may not be used directly.
 % ctor & dtor
 % -----------
 
 % ctor & dtor
 % -----------
 
-\membersection{wxOutputStream::wxOutputStream}
+\membersection{wxOutputStream::wxOutputStream}\label{wxoutputstreamctor}
 
 \func{}{wxOutputStream}{\void}
 
 Creates a dummy wxOutputStream object.
 
 
 
 \func{}{wxOutputStream}{\void}
 
 Creates a dummy wxOutputStream object.
 
 
-\membersection{wxOutputStream::\destruct{wxOutputStream}}
+\membersection{wxOutputStream::\destruct{wxOutputStream}}\label{wxoutputstreamdtor}
 
 \func{}{\destruct{wxOutputStream}}{\void}
 
 Destructor.
 
 
 
 \func{}{\destruct{wxOutputStream}}{\void}
 
 Destructor.
 
 
+\membersection{wxOutputStream::Close}\label{wxoutputstreamclose}
+
+\func{bool}{Close}{\void}
+
+Closes the stream, returning {\tt false} if an error occurs. The
+stream is closed implicitly in the destructor if Close() is not
+called explicitly.
+
+If this stream wraps another stream or some other resource such
+as a file, then the underlying resource is closed too if it is owned
+by this stream, or left open otherwise.
+
+
 \membersection{wxOutputStream::LastWrite}\label{wxoutputstreamlastwrite}
 
 \constfunc{size\_t}{LastWrite}{\void}
 \membersection{wxOutputStream::LastWrite}\label{wxoutputstreamlastwrite}
 
 \constfunc{size\_t}{LastWrite}{\void}
@@ -42,7 +55,7 @@ Returns the number of bytes written during the last
 error on the stream if it is only temporarily impossible to write to it.
 
 
 error on the stream if it is only temporarily impossible to write to it.
 
 
-\membersection{wxOutputStream::PutC}
+\membersection{wxOutputStream::PutC}\label{wxoutputstreamputc}
 
 \func{void}{PutC}{\param{char}{ c}}
 
 
 \func{void}{PutC}{\param{char}{ c}}