- 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( "wxZlibOutputStream: an error occured while closing the stream.\n" );