X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3069ac4e452f98644f9cdcae52a36ed9b9a93a31..29f7914424a7941e9374a5445f95574f2f041659:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 110199eda6..90d3338161 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -14,10 +14,13 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include -#include -#include -#include + +#include "wx/zstream.h" + +#if wxUSE_ZLIB + +#include "wx/utils.h" +#include "wx/intl.h" #include "wx/log.h" #include "../zlib/zlib.h" // don't change this, Robert @@ -130,7 +133,7 @@ wxZlibOutputStream::~wxZlibOutputStream() err = deflate(m_deflate, Z_FINISH); if (err != Z_STREAM_END) { - wxLogDebug( "wxZlibOutputStream: an error occured while closing the stream.\n" ); + wxLogDebug( _T("wxZlibOutputStream: an error occured while closing the stream.\n") ); return; } @@ -181,3 +184,8 @@ size_t wxZlibOutputStream::OnSysWrite(const void *buffer, size_t size) } return size; } + +#endif + + // wxUSE_ZLIB +