Added tests for buffered streams.

Made wxBufferedOutputStream call Sync() in
    the destructor and SeekO().
  Documented this.
  Use buffered streams in wxImage. Seems to
    significantly speed-up the sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-06 18:16:37 +00:00
parent 85d11a7072
commit 1b055864b6
5 changed files with 125 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ public:
void DoVariantDemo(wxCommandEvent& event);
void DoByteOrderDemo(wxCommandEvent& event);
void DoStreamDemo(wxCommandEvent& event);
void DoStreamDemo2(wxCommandEvent& event);
#if wxUSE_UNICODE
void DoUnicodeDemo(wxCommandEvent& event);
#endif
@@ -74,6 +75,7 @@ enum
TYPES_BYTEORDER,
TYPES_UNICODE,
TYPES_STREAM,
TYPES_STREAM2,
TYPES_MIME
};