X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5487ff0f501619e1b87e8a1f2c03bcc4a87ef375..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/archive.h diff --git a/include/wx/archive.h b/include/wx/archive.h index f814b8f3b8..cd8438972d 100644 --- a/include/wx/archive.h +++ b/include/wx/archive.h @@ -225,7 +225,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 +347,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);