]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / common / zstream.cpp
index 110199eda6d184c0cce196e1efdb162b770cd4b3..773776fe4cd75acd5d86aefba4b1ab8600103de5 100644 (file)
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
-#include <wx/stream.h>
-#include <wx/zstream.h>
-#include <wx/utils.h>
-#include <wx/intl.h>
+
+#include "wx/zstream.h"
+
+#ifdef wxUSE_ZLIB
+
+#include "wx/utils.h"
+#include "wx/intl.h"
 #include "wx/log.h"
 #include "../zlib/zlib.h"   // don't change this, Robert
 
@@ -181,3 +184,8 @@ size_t wxZlibOutputStream::OnSysWrite(const void *buffer, size_t size)
   }
   return size;
 }
+
+#endif
+
+  // wxUSE_ZLIB
+