X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9838df2cefc5b368bb11f98c784ecc78f45ecaf7..9398120d298d745763f253d87d774be3b134b43f:/include/wx/zstream.h?ds=sidebyside 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__ +