]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/strmbase.tex
Missing header.
[wxWidgets.git] / docs / latex / wx / strmbase.tex
index 54ea88732c09da4429e0a5386a2809ab2440aeb2..dc7a184b5112e3622cb374dffb1020ad67cca9d2 100644 (file)
@@ -47,7 +47,7 @@ Destructor.
 \constfunc{wxFileOffset}{GetLength}{\void}
 
 Returns the length of the stream in bytes. If the length cannot be determined
-(this is always the case for socket streams for example), returns
+(this is always the case for socket streams for example), returns 
 \texttt{wxInvalidOffset}.
 
 \newsince{2.5.4}
@@ -85,7 +85,7 @@ In that cases, GetSize returns $0$ so you should always test its return value.
 
 \membersection{wxStreamBase::IsOk}\label{wxstreambaseisok}
 
-\constfunc{wxStreamError}{IsOk}{\void}
+\constfunc{bool}{IsOk}{\void}
 
 Returns true if no error occurred on the stream.
 
@@ -94,6 +94,13 @@ Returns true if no error occurred on the stream.
 \helpref{GetLastError}{wxstreambasegetlasterror}
 
 
+\membersection{wxStreamBase::IsSeekable}\label{wxstreambaseisseekable}
+
+\constfunc{bool}{IsSeekable}{\void}
+
+Returns true if the streams supports seeking to arbitrary offsets.
+
+
 \membersection{wxStreamBase::OnSysRead}\label{wxstreambaseonsysread}
 
 \func{size\_t}{OnSysRead}{\param{void*}{ buffer}, \param{size\_t}{ bufsize}}
@@ -120,8 +127,7 @@ real position.
 
 \membersection{wxStreamBase::OnSysWrite}\label{wxstreambaseonsyswrite}
 
-\func{size\_t}{OnSysWrite}{\param{void *}{buffer}, \param{size\_t}{ bufsize}}
+\func{size\_t}{OnSysWrite}{\param{const void *}{buffer}, \param{size\_t}{ bufsize}}
 
 See \helpref{OnSysRead}{wxstreambaseonsysread}.
 
-