- err = deflate(&m_deflate, Z_FINISH);
- if (err != Z_STREAM_END) {
- wxDebugMsg("wxZlibOutputStream: an error occured while we was closing "
- "the stream.\n");
+ err = deflate(m_deflate, Z_FINISH);
+ if (err != Z_STREAM_END)
+ {
+ wxLogDebug( _T("wxZlibOutputStream: an error occured while closing the stream.\n") );