X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e8e867ff99be2e9d02e4e94766d27068ae66f57..dd4e6da0e0abb643e10d3a2c83b063138bec0d69:/include/wx/archive.h diff --git a/include/wx/archive.h b/include/wx/archive.h index c38ac18ce6..31f6b921b1 100644 --- a/include/wx/archive.h +++ b/include/wx/archive.h @@ -10,10 +10,6 @@ #ifndef _WX_ARCHIVE_H__ #define _WX_ARCHIVE_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "archive.h" -#endif - #include "wx/defs.h" #if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS @@ -341,6 +337,8 @@ public: wxMBConv& GetConv() const { return *m_pConv; } protected: + // old compilers don't support covarient returns, so 'Do' methods are + // used to simulate them virtual wxArchiveEntry *DoNewEntry() const = 0; virtual wxArchiveInputStream *DoNewStream(wxInputStream& stream) const = 0; virtual wxArchiveOutputStream *DoNewStream(wxOutputStream& stream) const = 0;