]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/archive.h
always let GtkTextView have mouse release events to avoid assertion failures in gtk_t...
[wxWidgets.git] / include / wx / archive.h
index c38ac18ce6b31e75a56efab40ed7380f50c567aa..31f6b921b1b4808939587f8f9a48c027b14b8ca0 100644 (file)
 #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;