LoadName(&ContactEditorData.NameTitle, &ContactEditorData.NameForename,
&ContactEditorData.NameSurname, &ContactEditorData.NameOtherNames,
&ContactEditorData.NameSuffix);
+
+ // Process the group members (MEMBER) (frmContactEditor-LoadGroup.cpp)
+
+ LoadMember(&ContactEditorData.GroupsList);
+
+ // Process the addresses (ADR) (frmContactEditor-LoadAddress.cpp)
+
+ LoadAddress(&ContactEditorData.GeneralAddressList,
+ &ContactEditorData.GeneralAddressListTown,
+ &ContactEditorData.GeneralAddressListCounty,
+ &ContactEditorData.GeneralAddressListPostCode,
+ &ContactEditorData.GeneralAddressListPref,
+ &ContactEditorData.HomeAddressList,
+ &ContactEditorData.HomeAddressListTown,
+ &ContactEditorData.HomeAddressListCounty,
+ &ContactEditorData.HomeAddressListPostCode,
+ &ContactEditorData.HomeAddressListPref,
+ &ContactEditorData.BusinessAddressList,
+ &ContactEditorData.BusinessAddressListTown,
+ &ContactEditorData.BusinessAddressListCounty,
+ &ContactEditorData.BusinessAddressListPostCode,
+ &ContactEditorData.BusinessAddressListPref,
+ &ADRCount);
+
+ // Process the timezones (TZ) (frmContactEditor-LoadTimeZone.cpp)
+
+ LoadTimeZone(&ContactEditorData.GeneralTZList,
+ &ContactEditorData.GeneralTZListPref,
+ &ContactEditorData.HomeTZList,
+ &ContactEditorData.HomeTZListPref,
+ &ContactEditorData.BusinessTZList,
+ &ContactEditorData.BusinessTZListPref,
+ &TZCount);
+
+ // Process the emails (frmContactEditor-LoadEmail.cpp)
+
+ LoadEmail(&ContactEditorData.GeneralEmailList,
+ &ContactEditorData.GeneralEmailListPref,
+ &ContactEditorData.HomeEmailList,
+ &ContactEditorData.HomeEmailListPref,
+ &ContactEditorData.BusinessEmailList,
+ &ContactEditorData.BusinessEmailListPref,
+ &EmailCount);
for (std::map<int,wxString>::iterator iter = ContactFileLines.begin();
iter != ContactFileLines.end(); ++iter){
LoadKind(wxSPropertySeg2);
- }*/ else if (wxSProperty == wxT("MEMBER")){
+ }/* else if (wxSProperty == wxT("MEMBER")){
// See frmContactEditor-LoadGroup.cpp
LoadMember(wxSPropertySeg2, &GroupCount);
- } else if (wxSProperty == wxT("FN")){
+ }*/ else if (wxSProperty == wxT("FN")){
// See frmContactEditor-LoadName.cpp
LoadAnniversary(wxSPropertySeg1, wxSPropertySeg2, &AnniversaryProcessed);
- }*/ else if (wxSProperty == wxT("TZ")){
+ } else if (wxSProperty == wxT("TZ")){
// See frmContactEditor-LoadTimeZone.cpp
LoadTimeZone(wxSPropertySeg1, wxSPropertySeg2, &TZCount);
- } else if (wxSProperty == wxT("ADR")){
+ } else if (wxSProperty == wxT("ADR")){
// See frmContactEditor-LoadAddress.cpp
LoadEmail(wxSPropertySeg1, wxSPropertySeg2, &EmailCount);
- } else if (wxSProperty == wxT("IMPP")){
+ }*/ else if (wxSProperty == wxT("IMPP")){
// See frmContactEditor-LoadIM.cpp