X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5487ff0f501619e1b87e8a1f2c03bcc4a87ef375..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/include/wx/archive.h diff --git a/include/wx/archive.h b/include/wx/archive.h index f814b8f3b8..9f284668dd 100644 --- a/include/wx/archive.h +++ b/include/wx/archive.h @@ -2,7 +2,6 @@ // Name: wx/archive.h // Purpose: Streams for archive formats // Author: Mike Wetherell -// RCS-ID: $Id$ // Copyright: (c) 2004 Mike Wetherell // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -225,7 +224,7 @@ public: if (it.m_rep) it.m_rep.AddRef(); if (m_rep) - m_rep.UnRef(); + this->m_rep.UnRef(); m_rep = it.m_rep; return *this; } @@ -347,7 +346,7 @@ public: wxMBConv& GetConv() const { if (m_pConv) return *m_pConv; else return wxConvLocal; } - static const wxArchiveClassFactory *Find(const wxChar *protocol, + static const wxArchiveClassFactory *Find(const wxString& protocol, wxStreamProtocolType type = wxSTREAM_PROTOCOL);