X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29886d1bf86d6b2a87fdc8e485ffcc14f210ff23..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index f15a133dea..b91059aaa0 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -143,8 +143,8 @@ public: CtorString(const wchar_t *str) : m_str(str) {} CtorString(const wxString& str) : m_str(str) {} CtorString(const wxCStrData& str) : m_str(str) {} - CtorString(const wxCharBuffer& str) : m_str(str) {} - CtorString(const wxWCharBuffer& str) : m_str(str) {} + CtorString(const wxScopedCharBuffer& str) : m_str(str) {} + CtorString(const wxScopedWCharBuffer& str) : m_str(str) {} operator const wxString*() const { return &m_str; }