]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/stream.tex
Don't use const bool.
[wxWidgets.git] / docs / latex / wx / stream.tex
index 9ff128a6ed7c4cbfd544c1e1a728bc8d2b27059a..9262f10486575085579ed4ce8bc5e066e8a69b72 100644 (file)
@@ -184,6 +184,17 @@ the beginning of the stream. Otherwise, it returns wxInvalidOffset.
 
 Resets to the initial state variables concerning the buffer.
 
+
+\membersection{wxStreamBuffer::Truncate}\label{wxstreambuffertruncate}
+
+\func{void}{Truncate}{\void}
+
+Truncates the buffer to the current position.
+
+Note: Truncate() cannot be used to enlarge the buffer. This is
+usually not needed since the buffer expands automatically.
+
+
 \membersection{wxStreamBuffer::SetBufferIO}\label{wxstreambuffersetbufferio}
 
 \func{void}{SetBufferIO}{\param{char*}{ buffer\_start}, \param{char*}{ buffer\_end}}