X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..fbc535ff084f61ec376f339c515d96d74065c18b:/include/wx/datstrm.h diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index de87a83323..66320d1a64 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -18,7 +18,7 @@ #include -class wxDataInputStream: public wxFilterInputStream { +class wxDataInputStream: public virtual wxFilterInputStream { public: wxDataInputStream(wxInputStream& s); virtual ~wxDataInputStream(); @@ -31,7 +31,7 @@ public: wxString ReadString(); }; -class wxDataOutputStream: public wxFilterOutputStream { +class wxDataOutputStream: public virtual wxFilterOutputStream { public: wxDataOutputStream(wxOutputStream& s); virtual ~wxDataOutputStream(); @@ -44,5 +44,11 @@ class wxDataOutputStream: public wxFilterOutputStream { void WriteString(const wxString& string); }; +class wxDataStream: public wxDataInputStream, public wxDataOutputStream, + public wxFilterStream { + public: + wxDataStream(wxStream& stream); +}; + #endif // _WX_DATSTREAM_H_