X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c398434d925aa9e2b190ce632fac1a79ffcbf043..c437b3f4e47b74715a2f2385d4862972babd7802:/src/common/variant.cpp diff --git a/src/common/variant.cpp b/src/common/variant.cpp index b7c479588d..661a6190e5 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -908,13 +908,13 @@ wxVariant::wxVariant(const wxCStrData& val, const wxString& name) m_name = name; } -wxVariant::wxVariant(const wxCharBuffer& val, const wxString& name) +wxVariant::wxVariant(const wxScopedCharBuffer& val, const wxString& name) { m_data = new wxVariantDataString(wxString(val)); m_name = name; } -wxVariant::wxVariant(const wxWCharBuffer& val, const wxString& name) +wxVariant::wxVariant(const wxScopedWCharBuffer& val, const wxString& name) { m_data = new wxVariantDataString(wxString(val)); m_name = name;