X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4259a48e0b5799e015061f8e649ab54ad2d9dc7f..27f35b6674b796e61986681261ec7a96bef93502:/include/wx/zstream.h diff --git a/include/wx/zstream.h b/include/wx/zstream.h index cab4f71e07..fa3d534fe9 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -11,11 +11,15 @@ #ifndef _WX_WXZSTREAM_H__ #define _WX_WXZSTREAM_H__ -#ifdef __GNUG__ -#pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "zstream.h" #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__ +