- pnode->AddProperty(wxT("class"), wxString(classInfo->GetClassName()));
- pnode->AddProperty(wxT("id"), wxString::Format( wxT("%d") , objectID ) );
+ pnode->AddAttribute(wxT("class"), wxString(classInfo->GetClassName()));
+ pnode->AddAttribute(wxT("id"), wxString::Format( wxT("%d") , objectID ) );