git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31849
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxVariant::operator!= (const wxStringList& value) const
{
bool wxVariant::operator!= (const wxStringList& value) const
{
- return (!((*this) == value));
+ wxASSERT_MSG( (GetType() == wxT("stringlist")), wxT("Invalid type for == operator") );
+
+ wxVariantDataStringList other(value);
+ return !(m_data->Eq(other));
}
void wxVariant::operator= (const wxStringList& value)
}
void wxVariant::operator= (const wxStringList& value)