]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zipstrm.h
fix memory leak as Dimitri suggested
[wxWidgets.git] / include / wx / zipstrm.h
index 4b8b4cf34687e6cb81c84ee361c9347644f90ffe..77236c3f63dc4e55a70120e6234451abc31a4032 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef __ZIPSTREAM_H__
 #define __ZIPSTREAM_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "zipstrm.h"
 #endif
 
@@ -49,6 +49,8 @@ private:
     // this void* is handle of archive . I'm sorry it is void and not proper
     // type but I don't want to make unzip.h header public.
     void *m_Archive;
+
+    DECLARE_NO_COPY_CLASS(wxZipInputStream)
 };