]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zstream.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / zstream.h
index 9538abcff6d018066e61a4dc2fd0e64d8d23613f..3cac08f9459c9a67f05952a580201054a7e218ce 100644 (file)
@@ -17,9 +17,9 @@
 
 #include "wx/defs.h"
 
-#ifdef 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__
+