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:
@@ -1558,7 +1558,10 @@ bool wxVariant::operator== (const wxStringList& value) const
|
|||||||
|
|
||||||
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)
|
||||||
|
Reference in New Issue
Block a user