]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zstream.h
changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
[wxWidgets.git] / include / wx / zstream.h
index 9a4f11c6ad4cf9f6917e1675615dc4fe999adfe5..3cac08f9459c9a67f05952a580201054a7e218ce 100644 (file)
@@ -17,9 +17,9 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_ZLIB
+#if wxUSE_ZLIB && wxUSE_STREAMS
 
-#include <wx/stream.h>
+#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__
+