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:
@@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user