From cf86fb96df139652f165e2bb830288c2a1d67165 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 10 Jan 2016 19:34:37 +0000 Subject: [PATCH] Added the DataType for Geoposition to the frmContactEditor form. --- source/contacteditor/frmContactEditor-Business.cpp | 7 +++++-- source/contacteditor/frmContactEditor-General.cpp | 7 +++++-- source/contacteditor/frmContactEditor-Home.cpp | 5 ++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/source/contacteditor/frmContactEditor-Business.cpp b/source/contacteditor/frmContactEditor-Business.cpp index 89175e7..2fe0201 100644 --- a/source/contacteditor/frmContactEditor-Business.cpp +++ b/source/contacteditor/frmContactEditor-Business.cpp @@ -542,6 +542,7 @@ void frmContactEditor::AddBusinessGeoposition( wxCommandEvent& event ) &ContactEditorData.BusinessGeographyListAltID, &ContactEditorData.BusinessGeographyListPID, &ContactEditorData.BusinessGeographyListType, + &ContactEditorData.BusinessGeographyListDataType, &ContactEditorData.BusinessGeographyListTokens, &ContactEditorData.BusinessGeographyListMediatype, &ContactEditorData.BusinessGeographyListPref, @@ -568,6 +569,7 @@ void frmContactEditor::ModifyBusinessGeoposition( wxCommandEvent& event ) &ContactEditorData.BusinessGeographyListAltID, &ContactEditorData.BusinessGeographyListPID, &ContactEditorData.BusinessGeographyListType, + &ContactEditorData.BusinessGeographyListDataType, &ContactEditorData.BusinessGeographyListTokens, &ContactEditorData.BusinessGeographyListMediatype, &ContactEditorData.BusinessGeographyListPref, @@ -594,8 +596,9 @@ void frmContactEditor::DeleteBusinessGeoposition( wxCommandEvent& event ) DeleteMapData(intSelectedData, &ContactEditorData.BusinessGeographyList, &ContactEditorData.BusinessGeographyListAltID, &ContactEditorData.BusinessGeographyListPID, - &ContactEditorData.BusinessGeographyListType, &ContactEditorData.BusinessGeographyListTokens, - &ContactEditorData.BusinessGeographyListMediatype, &ContactEditorData.BusinessGeographyListPref); + &ContactEditorData.BusinessGeographyListType, &ContactEditorData.BusinessGeographyListDataType, + &ContactEditorData.BusinessGeographyListTokens, &ContactEditorData.BusinessGeographyListMediatype, + &ContactEditorData.BusinessGeographyListPref); } diff --git a/source/contacteditor/frmContactEditor-General.cpp b/source/contacteditor/frmContactEditor-General.cpp index 65e933b..2fe3b1d 100644 --- a/source/contacteditor/frmContactEditor-General.cpp +++ b/source/contacteditor/frmContactEditor-General.cpp @@ -555,6 +555,7 @@ void frmContactEditor::AddGeneralGeoposition( wxCommandEvent& event ) &ContactEditorData.GeneralGeographyListAltID, &ContactEditorData.GeneralGeographyListPID, &ContactEditorData.GeneralGeographyListType, + &ContactEditorData.GeneralGeographyListDataType, &ContactEditorData.GeneralGeographyListTokens, &ContactEditorData.GeneralGeographyListMediatype, &ContactEditorData.GeneralGeographyListPref, @@ -581,6 +582,7 @@ void frmContactEditor::ModifyGeneralGeoposition( wxCommandEvent& event ) &ContactEditorData.GeneralGeographyListAltID, &ContactEditorData.GeneralGeographyListPID, &ContactEditorData.GeneralGeographyListType, + &ContactEditorData.GeneralGeographyListDataType, &ContactEditorData.GeneralGeographyListTokens, &ContactEditorData.GeneralGeographyListMediatype, &ContactEditorData.GeneralGeographyListPref, @@ -607,8 +609,9 @@ void frmContactEditor::DeleteGeneralGeoposition( wxCommandEvent& event ) DeleteMapData(intSelectedData, &ContactEditorData.GeneralGeographyList, &ContactEditorData.GeneralGeographyListAltID, &ContactEditorData.GeneralGeographyListPID, - &ContactEditorData.GeneralGeographyListType, &ContactEditorData.GeneralGeographyListTokens, - &ContactEditorData.GeneralGeographyListMediatype, &ContactEditorData.GeneralGeographyListPref); + &ContactEditorData.GeneralGeographyListType, &ContactEditorData.GeneralGeographyListDataType, + &ContactEditorData.GeneralGeographyListTokens, &ContactEditorData.GeneralGeographyListMediatype, + &ContactEditorData.GeneralGeographyListPref); } diff --git a/source/contacteditor/frmContactEditor-Home.cpp b/source/contacteditor/frmContactEditor-Home.cpp index 82add88..a0c9703 100644 --- a/source/contacteditor/frmContactEditor-Home.cpp +++ b/source/contacteditor/frmContactEditor-Home.cpp @@ -547,6 +547,7 @@ void frmContactEditor::AddHomeGeoposition( wxCommandEvent& event ) &ContactEditorData.HomeGeographyListAltID, &ContactEditorData.HomeGeographyListPID, &ContactEditorData.HomeGeographyListType, + &ContactEditorData.HomeGeographyListDataType, &ContactEditorData.HomeGeographyListTokens, &ContactEditorData.HomeGeographyListMediatype, &ContactEditorData.HomeGeographyListPref, @@ -573,6 +574,7 @@ void frmContactEditor::ModifyHomeGeoposition( wxCommandEvent& event ) &ContactEditorData.HomeGeographyListAltID, &ContactEditorData.HomeGeographyListPID, &ContactEditorData.HomeGeographyListType, + &ContactEditorData.HomeGeographyListDataType, &ContactEditorData.HomeGeographyListTokens, &ContactEditorData.HomeGeographyListMediatype, &ContactEditorData.HomeGeographyListPref, @@ -600,7 +602,8 @@ void frmContactEditor::DeleteHomeGeoposition( wxCommandEvent& event ) DeleteMapData(intSelectedData, &ContactEditorData.HomeGeographyList, &ContactEditorData.HomeGeographyListAltID, &ContactEditorData.HomeGeographyListPID, &ContactEditorData.HomeGeographyListType, &ContactEditorData.HomeGeographyListTokens, - &ContactEditorData.HomeGeographyListMediatype, &ContactEditorData.HomeGeographyListPref); + &ContactEditorData.HomeGeographyListDataType, &ContactEditorData.HomeGeographyListMediatype, + &ContactEditorData.HomeGeographyListPref); } -- 2.39.5