]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zstream.h
fixed typo in wxString::swap() which was completely broken
[wxWidgets.git] / include / wx / zstream.h
index cab4f71e07bd595adfd3d5ac30b9a9b27768e4b3..3cac08f9459c9a67f05952a580201054a7e218ce 100644 (file)
 #pragma interface
 #endif
 
-#include <wx/stream.h>
+#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__
+