Duplicate impl of wxVariant == because GCC can't tell if one depreciated method is being used inside another

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-02-08 03:25:05 +00:00
parent af7bb44ca4
commit 52e812428f

View File

@@ -1558,7 +1558,10 @@ 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)