X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/124031d5170ab9a6b7db3e4314b7ab00e9ff92b5..bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9:/include/wx/zstream.h?ds=sidebyside diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 9538abcff6..3cac08f945 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -17,9 +17,9 @@ #include "wx/defs.h" -#ifdef 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__ +