wxPreRegisterAnyToVariant(this);
}
+wxAnyToVariantRegistration::~wxAnyToVariantRegistration()
+{
+}
+
wxVariant::wxVariant(const wxAny& any)
: wxObject()
{
if ( IsNull() )
return wxAny();
- wxVariantData* data = GetData();
wxAny any;
+ wxVariantData* data = GetData();
if ( data->GetAsAny(&any) )
return any;
while (node)
{
wxVariant* pVar = node->GetData();
- dst.push_back(new wxAny(*pVar));
+ dst.push_back(new wxAny(((const wxVariant&)*pVar)));
node = node->GetNext();
}