// implements a wxVariantData-derived class using for the Eq() method a shallow
-// comparison (through wxObject::IsRefTo function)
+// comparison (through wxObject::IsSameAs function)
#define IMPLEMENT_VARIANT_OBJECT_EXPORTED_SHALLOWCMP(classname,expdecl) \
IMPLEMENT_VARIANT_OBJECT_EXPORTED_NO_EQ(classname,expdecl) \
\
\
classname##VariantData & otherData = (classname##VariantData &) data;\
\
- return (otherData.m_value.IsRefTo(&m_value));\
+ return (otherData.m_value.IsSameAs(m_value));\
}\