]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
Do not use Tooltips if they are disabled
[wxWidgets.git] / src / common / variant.cpp
index b7c479588dc4dcfef200ac10230782f14f014ce1..661a6190e51e4649657f97507198d3869629fcb1 100644 (file)
@@ -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;