]> 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 75af3270c857caee9ab3a9236f73d97b55f0f854..fa65ee7f4e6207e34316c1cc81fae7f523072c1f 100644 (file)
 #pragma interface
 #endif
 
-#include "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:
@@ -52,5 +52,8 @@ class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream {
 };
 
 #endif
+  // wxUSE_ZLIB && wxUSE_STREAMS
 
 #endif
+   // _WX_WXZSTREAM_H__
+