]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
Propagate wxHtmlWindow layout direction to the wxDC it uses.
[wxWidgets.git] / src / common / zstream.cpp
index 8283811fbb471f2a7ab24626eb3dd9f6fe1f34d5..c293548a040e3538136259e35b0a4e2ace2745d3 100644 (file)
@@ -335,11 +335,8 @@ bool wxZlibOutputStream::Close()
  {
   DoFlush(true);
    deflateEnd(m_deflate);
-   delete m_deflate;
-
-  m_deflate = NULL;
-   delete[] m_z_buffer;
-  m_z_buffer = NULL;
+   wxDELETE(m_deflate);
+   wxDELETEA(m_z_buffer);
 
   return wxFilterOutputStream::Close() && IsOk();
  }