Added wxFFileStream base on wxFFile (as opposed to wxFile)

Implemented the "endl" thing for text streams,
  Corrected cursor display for text ctrls,
  Corrected the strange spin button behaviour when dynamically
    changing its range
  Corrcected bug in wxListBox when programmatically unselecting
   an item in multi-select mode (bug reports are getting esoteric)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-08-22 16:12:48 +00:00
parent e2acb9ae1c
commit 65045edde4
17 changed files with 332 additions and 25 deletions

View File

@@ -3,6 +3,13 @@
% -----------------------------------------------------------------------------
\section{\class{wxFileInputStream}}\label{wxfileinputstream}
This classes represent data streams to and from a file. There are actually
two such groups of classes: those documented here, and another group called
wxFFileInputStream, wxFFileOutputStream and wxFFileStream which are not
based on file descriptors (and their wxWindows equivalent wxFile) but the
FILE* type (and wxFFile). Apart from the different constructor ("FILE *file"
instead if "int fd") their interface is identical.
\wxheading{Derived from}
\helpref{wxInputStream}{wxinputstream}

View File

@@ -91,14 +91,14 @@ $\backslash$n or $\backslash$r$\backslash$n or $\backslash$r.
This class provides functions that write text datas using an output stream.
So, you can write \it{text} floats, integers.
For example:
You can also simulate the C++ cout class:
\begin{verbatim}
wxFileOutputStream output( "mytext.txt" );
wxTextOutputStream text( output );
wxFFileOutputStream output( stderr );
wxTextOutputStream cout( output );
output << "This is a text line" << endl;
output << 1234;
output << 1.23456;
cout << "This is a text line" << endl;
cout << 1234;
cout << 1.23456;
\end{verbatim}
The wxTextOutputStream writes text files (or streams) on DOS, Macintosh