X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4259a48e0b5799e015061f8e649ab54ad2d9dc7f..9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3:/include/wx/zstream.h diff --git a/include/wx/zstream.h b/include/wx/zstream.h index cab4f71e07..3cac08f945 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -15,7 +15,11 @@ #pragma interface #endif -#include +#include "wx/defs.h" + +#if wxUSE_ZLIB && wxUSE_STREAMS + +#include "wx/stream.h" class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream { public: @@ -33,7 +37,7 @@ class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream { class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream { public: - wxZlibOutputStream(wxOutputStream& stream); + wxZlibOutputStream(wxOutputStream& stream, int level = -1); virtual ~wxZlibOutputStream(); void Sync(); @@ -48,3 +52,8 @@ class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream { }; #endif + // wxUSE_ZLIB && wxUSE_STREAMS + +#endif + // _WX_WXZSTREAM_H__ +