added IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) macro for consistency

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-11-03 21:25:59 +00:00
parent 3e09f6f1e8
commit 01df01eb19

View File

@ -376,8 +376,8 @@ expdecl wxVariant& operator << ( wxVariant &variant, const classname &value )\
return variant;\
}
// implements a wxVariantData-derived class using for the Eq() method the operator==
// which must have been provided by "classname"
// implements a wxVariantData-derived class using for the Eq() method the
// operator== which must have been provided by "classname"
#define IMPLEMENT_VARIANT_OBJECT_EXPORTED(classname,expdecl) \
IMPLEMENT_VARIANT_OBJECT_EXPORTED_NO_EQ(classname,expdecl) \
\
@ -393,6 +393,8 @@ bool classname##VariantData::Eq(wxVariantData& data) const \
// implements a wxVariantData-derived class using for the Eq() method a shallow
// comparison (through wxObject::IsSameAs function)
#define IMPLEMENT_VARIANT_OBJECT_SHALLOWCMP(classname) \
IMPLEMENT_VARIANT_OBJECT_EXPORTED_SHALLOWCMP(classname, wxEMPTY_PARAMETER_VALUE)
#define IMPLEMENT_VARIANT_OBJECT_EXPORTED_SHALLOWCMP(classname,expdecl) \
IMPLEMENT_VARIANT_OBJECT_EXPORTED_NO_EQ(classname,expdecl) \
\