Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -62,7 +62,7 @@ inline bool operator == (const wxVector3f& a, const wxVector3f& b)
|
||||
return (a.x == b.x && a.y == b.y && a.z == b.z);
|
||||
}
|
||||
|
||||
WX_PG_DECLARE_VARIANT_DATA(wxVector3fVariantData, wxVector3f, wxEMPTY_PARAMETER_VALUE)
|
||||
WX_PG_DECLARE_VARIANT_DATA(wxVector3f)
|
||||
|
||||
class wxVectorProperty : public wxPGProperty
|
||||
{
|
||||
@@ -92,7 +92,7 @@ inline bool operator == (const wxTriangle& a, const wxTriangle& b)
|
||||
return (a.a == b.a && a.b == b.b && a.c == b.c);
|
||||
}
|
||||
|
||||
WX_PG_DECLARE_VARIANT_DATA(wxTriangleVariantData, wxTriangle, wxEMPTY_PARAMETER_VALUE)
|
||||
WX_PG_DECLARE_VARIANT_DATA(wxTriangle)
|
||||
|
||||
class wxTriangleProperty : public wxPGProperty
|
||||
{
|
||||
|
Reference in New Issue
Block a user