* Doc updates

* Fixes about socket, stream core, a superfluous stream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-02-10 20:01:06 +00:00
parent 5e1962f77f
commit 7f42cff13e
12 changed files with 72 additions and 24 deletions

View File

@@ -48,6 +48,16 @@ functionnalities of a ``normal'' stream.
\wxheading{Warning}
The "read\_write" mode may not work: it isn't completely finished.
You can create "memory" streams by this way:
\begin{verbatim}
wxStreamBuffer *sb = new wxStreamBuffer(wxStreamBuffer::read)
wxInputStream *input = new wxInputStream(sb);
sb->Fixed(FALSE); // It can change the size of the buffer.
// input is now a read-only memory stream.
\end{verbatim}
But you should care about destroying the stream buffer \it{YOURSELF}.
\wxheading{See also}