X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9838df2cefc5b368bb11f98c784ecc78f45ecaf7..7a5e62674f8c9e923956d67d95f5d0c97763ca1f:/include/wx/zstream.h diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 9a4f11c6ad..3cac08f945 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -17,9 +17,9 @@ #include "wx/defs.h" -#if wxUSE_ZLIB +#if wxUSE_ZLIB && wxUSE_STREAMS -#include +#include "wx/stream.h" class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream { public: @@ -37,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(); @@ -52,5 +52,8 @@ class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream { }; #endif + // wxUSE_ZLIB && wxUSE_STREAMS #endif + // _WX_WXZSTREAM_H__ +