X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb42d7c3b4aa088a51fabf71203e8c5ee784d734..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/common/variant.cpp diff --git a/src/common/variant.cpp b/src/common/variant.cpp index 6449a5fdd4..894c1cf9aa 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -1436,8 +1436,10 @@ void wxVariant::operator= (const wxVariant& variant) delete m_data; m_data = (wxVariantData*) variant.GetData()->GetClassInfo()->CreateObject(); } -// GetData()->Copy(* variant.GetData()); + variant.GetData()->Copy(* GetData()); + + m_name = variant.m_name; } // Assignment using data, e.g. @@ -1810,7 +1812,7 @@ void wxVariant::operator= (const TIMESTAMP_STRUCT* value) #endif // wxUSE_ODBC -bool wxVariant::operator==(const wxArrayString& value) const +bool wxVariant::operator==(const wxArrayString& WXUNUSED(value)) const { wxFAIL_MSG( _T("TODO") );