lboRelated->DeleteItem(longSelected);
- GeneralRelatedList.erase(intSelectedData);
- GeneralRelatedListRelType.erase(intSelectedData);
- GeneralRelatedListAltID.erase(intSelectedData);
- GeneralRelatedListPID.erase(intSelectedData);
- GeneralRelatedListType.erase(intSelectedData);
- GeneralRelatedListTokens.erase(intSelectedData);
- GeneralRelatedListPref.erase(intSelectedData);
+ DeleteMapData(intSelectedData, &ContactEditorData.GeneralRelatedList,
+ &ContactEditorData.GeneralRelatedListRelType, &ContactEditorData.GeneralRelatedListAltID,
+ &ContactEditorData.GeneralRelatedListPID, &ContactEditorData.GeneralRelatedListType,
+ &ContactEditorData.GeneralRelatedListTokens, &ContactEditorData.GeneralRelatedListPref);
+
}
void frmContactEditor::AddGeneralWebsite( wxCommandEvent& event )