X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..961dd75341aaa5083098fefd5c1074d8308b5732:/include/wx/zipstrm.h diff --git a/include/wx/zipstrm.h b/include/wx/zipstrm.h index 4b8b4cf346..f6b276b6ec 100644 --- a/include/wx/zipstrm.h +++ b/include/wx/zipstrm.h @@ -9,7 +9,7 @@ #ifndef __ZIPSTREAM_H__ #define __ZIPSTREAM_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "zipstrm.h" #endif @@ -26,7 +26,7 @@ //-------------------------------------------------------------------------------- -class WXDLLEXPORT wxZipInputStream : public wxInputStream +class WXDLLIMPEXP_BASE wxZipInputStream : public wxInputStream { public: wxZipInputStream(const wxString& archive, const wxString& file); @@ -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) };