]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/strmbase.tex
Faster Deselect
[wxWidgets.git] / docs / latex / wx / strmbase.tex
index 3a18bd74a041739d7c95f6ea44b8cca7a9cdc951..23d8b3defaf1058cf48c27fbfcb9fbe498c4516d 100644 (file)
@@ -3,7 +3,7 @@
 % -----------------------------------------------------------------------------
 \section{\class{wxStreamBase}}\label{wxstreambase}
 
-This class is the base class of most stream related classes in wxWindows. It must
+This class is the base class of most stream related classes in wxWidgets. It must
 not be used directly.
 
 \wxheading{Derived from}
@@ -27,13 +27,13 @@ None
 % ctor & dtor
 % -----------
 
-\membersection{wxStreamBase::wxStreamBase}
+\membersection{wxStreamBase::wxStreamBase}\label{wxstreambasector}
 
 \func{}{wxStreamBase}{\void}
 
 Creates a dummy stream object. It doesn't do anything.
 
-\membersection{wxStreamBase::\destruct{wxStreamBase}}
+\membersection{wxStreamBase::\destruct{wxStreamBase}}\label{wxstreambasedtor}
 
 \func{}{\destruct{wxStreamBase}}{\void}
 
@@ -47,11 +47,11 @@ Returns true if no error occurred on the stream.
 
 \wxheading{See also}
 
-\helpref{LastError}{wxstreambaselasterror}
+\helpref{GetLastError}{wxstreambasegetlasterror}
 
-\membersection{wxStreamBase::LastError}\label{wxstreambaselasterror}
+\membersection{wxStreamBase::GetLastError}\label{wxstreambasegetlasterror}
 
-\constfunc{wxStreamError}{LastError}{\void}
+\constfunc{wxStreamError}{GetLastError}{\void}
 
 This function returns the last error.
 
@@ -70,21 +70,21 @@ This function returns the last error.
 Internal function. It is called when the stream wants to read data of the
 specified size. It should return the size that was actually read.
 
-\membersection{wxStreamBase::OnSysSeek}
+\membersection{wxStreamBase::OnSysSeek}\label{wxstreambaseonsysseek}
 
 \func{off\_t}{OnSysSeek}{\param{off\_t}{ pos}, \param{wxSeekMode}{ mode}}
 
 Internal function. It is called when the stream needs to change the
 current position.
 
-\membersection{wxStreamBase::OnSysTell}
+\membersection{wxStreamBase::OnSysTell}\label{wxstreambaseonsystell}
 
 \constfunc{off\_t}{OnSysTell}{\void}
 
 Internal function. Is is called when the stream needs to know the
 real position.
 
-\membersection{wxStreamBase::OnSysWrite}
+\membersection{wxStreamBase::OnSysWrite}\label{wxstreambaseonsyswrite}
 
 \func{size\_t}{OnSysWrite}{\param{void *}{buffer}, \param{size\_t}{ bufsize}}
 
@@ -100,9 +100,5 @@ the file.
 \wxheading{Warning}
 
 There are streams which do not have size by definition, such as socket streams.
-In that cases, GetSize returns an invalid size represented by
-
-\begin{verbatim}
-~(size_t)0
-\end{verbatim}
+In that cases, GetSize returns $0$ so you should always test its return value.