X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..6ba7c06eeeda47b88783025428ca0f290e3bf236:/include/wx/zstream.h?ds=sidebyside diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 40396a1251..fa3d534fe9 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -11,15 +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 "wx/defs.h" #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(); @@ -55,4 +55,5 @@ class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream { // wxUSE_ZLIB && wxUSE_STREAMS #endif - // _WX_WXZSTREAM_H__ \ No newline at end of file + // _WX_WXZSTREAM_H__ +