X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80e62471ad4796959c46655383b18135aa646bb2..75ded4d17344618afd302a0671f1277791ee17ed:/include/wx/archive.h diff --git a/include/wx/archive.h b/include/wx/archive.h index 7acebd1e28..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; } @@ -341,11 +341,13 @@ public: const wxString& name, wxPathFormat format = wxPATH_NATIVE) const = 0; + // FIXME-UTF8: remove these from this file, they are used for ANSI + // build only void SetConv(wxMBConv& conv) { m_pConv = &conv; } 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);