]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
Moved the declaration of wxEVT_NULL to event.cpp and made it extern in the header...
[wxWidgets.git] / src / common / zstream.cpp
index 29a7dfa23be4705492c86f675184b1fd8a0fdee7..5142f077b660439ed35a150452ccc7ef0ddde860 100644 (file)
@@ -34,7 +34,7 @@
 #if defined(__WXMSW__) && !defined(__WX_SETUP_H__) && !defined(wxUSE_ZLIB_H_IN_PATH)
    #include "../zlib/zlib.h"
 #elif defined(__WXMAC__) && defined(__UNIX__)
-   #include <Zip/zlib.h>
+   #include <Kernel/net/zlib.h>
 #else
    #include <zlib.h>
 #endif
@@ -159,6 +159,7 @@ wxZlibOutputStream::~wxZlibOutputStream()
   }
 
   deflateEnd(m_deflate);
+  delete m_deflate;
 
   delete[] m_z_buffer;
 }