]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zstream.h
hack to fix crash when creating a DC for a widgetless window
[wxWidgets.git] / include / wx / zstream.h
index 9538abcff6d018066e61a4dc2fd0e64d8d23613f..fa65ee7f4e6207e34316c1cc81fae7f523072c1f 100644 (file)
@@ -17,9 +17,9 @@
 
 #include "wx/defs.h"
 
 
 #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:
 
 class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream {
  public:
@@ -52,5 +52,8 @@ class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream {
 };
 
 #endif
 };
 
 #endif
+  // wxUSE_ZLIB && wxUSE_STREAMS
 
 #endif
 
 #endif
+   // _WX_WXZSTREAM_H__
+