X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..bf6c2b3505580f37f414669c0812f72d8509fac9:/include/wx/datstrm.h diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index de87a83323..e3bb7eeb80 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -18,7 +18,9 @@ #include -class wxDataInputStream: 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: public wxFilterOutputStream { +class WXDLLEXPORT wxDataOutputStream: public wxFilterOutputStream { public: wxDataOutputStream(wxOutputStream& s); virtual ~wxDataOutputStream(); @@ -44,5 +46,8 @@ class wxDataOutputStream: public wxFilterOutputStream { void WriteString(const wxString& string); }; +#endif + // wxUSE_STREAMS + #endif // _WX_DATSTREAM_H_