From: Steve Brokenshire Date: Wed, 30 Dec 2015 00:27:57 +0000 (+0000) Subject: Implemented TITLE for ContactDataObject. X-Git-Tag: release-0.09~129 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=6aea74e8b371da97bfc7d8e102e6b9a72767c875;p=xestiaab%2F.git Implemented TITLE for ContactDataObject. --- diff --git a/source/contacteditor/frmContactEditor-Load.cpp b/source/contacteditor/frmContactEditor-Load.cpp index 14b20bd..7e35538 100644 --- a/source/contacteditor/frmContactEditor-Load.cpp +++ b/source/contacteditor/frmContactEditor-Load.cpp @@ -237,7 +237,7 @@ bool frmContactEditor::LoadContact(wxString Filename){ lboBusinessLanguages, &LangCount); - // Process the geoposition (GEO). + // Process the geopositiosn (GEO). LoadData(&ContactEditorData.GeneralGeographyList, &ContactEditorData.GeneralGeographyListPref, @@ -250,7 +250,7 @@ bool frmContactEditor::LoadContact(wxString Filename){ lboBusinessGeoposition, &GeoCount); - // Process the website (URL). + // Process the websites (URL). LoadData(&ContactEditorData.GeneralWebsiteList, &ContactEditorData.GeneralWebsiteListPref, @@ -263,6 +263,19 @@ bool frmContactEditor::LoadContact(wxString Filename){ lboBusinessWebsites, &URLCount); + // Process the titles (TITLE). + + LoadData(&ContactEditorData.GeneralTitleList, + &ContactEditorData.GeneralTitleListPref, + lboTitles, + &ContactEditorData.HomeTitleList, + &ContactEditorData.HomeTitleListPref, + lboHomeTitles, + &ContactEditorData.BusinessTitleList, + &ContactEditorData.BusinessTitleListPref, + lboBusinessTitles, + &TitleCount); + for (std::map::iterator iter = ContactFileLines.begin(); iter != ContactFileLines.end(); ++iter){ @@ -466,13 +479,13 @@ bool frmContactEditor::LoadContact(wxString Filename){ LoadURL(wxSPropertySeg1, wxSPropertySeg2, &URLCount); - }*/ else if (wxSProperty == wxT("TITLE")) { + } else if (wxSProperty == wxT("TITLE")) { // See frmContactEditor-LoadTitle.cpp LoadTitle(wxSPropertySeg1, wxSPropertySeg2, &TitleCount); - } else if (wxSProperty == wxT("ROLE")) { + }*/ else if (wxSProperty == wxT("ROLE")) { // See frmContactEditor-LoadRole.cpp