X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..3883022093c42e3fb7b248ea2cb4bbd1e056a75b:/include/wx/datstrm.h diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index 230d5253b6..e3bb7eeb80 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -18,7 +18,9 @@ #include -class wxDataInputStream: virtual public wxFilterInputStream { +#if wxUSE_STREAMS + +class WXDLLEXPORT wxDataInputStream: public wxFilterInputStream { public: wxDataInputStream(wxInputStream& s); virtual ~wxDataInputStream(); @@ -31,7 +33,7 @@ public: wxString ReadString(); }; -class wxDataOutputStream: virtual public wxFilterOutputStream { +class WXDLLEXPORT wxDataOutputStream: public wxFilterOutputStream { public: wxDataOutputStream(wxOutputStream& s); virtual ~wxDataOutputStream(); @@ -44,11 +46,8 @@ class wxDataOutputStream: virtual public wxFilterOutputStream { void WriteString(const wxString& string); }; -class wxDataStream: public wxDataInputStream, public wxDataOutputStream, - public wxFilterStream { - public: - wxDataStream(wxStream& stream); -}; +#endif + // wxUSE_STREAMS #endif // _WX_DATSTREAM_H_