Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
All items in the General tab now use the ContactDataObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 1 Jan 2016 14:06:17 +0000 (14:06 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 1 Jan 2016 14:06:17 +0000 (14:06 +0000)
source/contacteditor/frmContactEditor-Calendar.cpp
source/contacteditor/frmContactEditor-Category.cpp
source/contacteditor/frmContactEditor-General.cpp

index 8813635..c31fd92 100644 (file)
@@ -1,6 +1,6 @@
 // frmContactEditor-Calendar.cpp - frmContactEditor Calendar tab subroutines.
 //
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
 //
 // This file is part of Xestia Address Book.
 //
index 0b1ab28..aa7dad9 100644 (file)
@@ -1,6 +1,6 @@
 // frmContactEditor-Category.cpp - frmContactEditor Category tab subroutines.
 //
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
 //
 // This file is part of Xestia Address Book.
 //
index f75d92d..e1be3d5 100644 (file)
@@ -1,6 +1,6 @@
 // frmContactEditor-General.cpp - frmContactEditor General tab subroutines.
 //
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
 //
 // This file is part of Xestia Address Book.
 //
@@ -39,14 +39,14 @@ void frmContactEditor::AddGeneralNickname( wxCommandEvent& event )
     
     frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
     frameCENickname->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralNicknamesList);
-    frameCENickname->SetupPointers(&GeneralNicknamesList,
-                                   &GeneralNicknamesListAltID,
-                                   &GeneralNicknamesListPID,
-                                   &GeneralNicknamesListType,
-                                   &GeneralNicknamesListLanguage,
-                                   &GeneralNicknamesListTokens,
-                                   &GeneralNicknamesListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralNicknamesList);
+    frameCENickname->SetupPointers(&ContactEditorData.GeneralNicknamesList,
+                                   &ContactEditorData.GeneralNicknamesListAltID,
+                                   &ContactEditorData.GeneralNicknamesListPID,
+                                   &ContactEditorData.GeneralNicknamesListType,
+                                   &ContactEditorData.GeneralNicknamesListLanguage,
+                                   &ContactEditorData.GeneralNicknamesListTokens,
+                                   &ContactEditorData.GeneralNicknamesListPref,
                                    lboNicknames,
                                    (intValueSeek));
     frameCENickname->ShowModal();
@@ -67,13 +67,13 @@ void frmContactEditor::ModifyGeneralNickname( wxCommandEvent& event )
     }
     
     frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
-    frameCENickname->SetupPointers(&GeneralNicknamesList,
-                                   &GeneralNicknamesListAltID,
-                                   &GeneralNicknamesListPID,
-                                   &GeneralNicknamesListType,
-                                   &GeneralNicknamesListLanguage,
-                                   &GeneralNicknamesListTokens,
-                                   &GeneralNicknamesListPref,
+    frameCENickname->SetupPointers(&ContactEditorData.GeneralNicknamesList,
+                                   &ContactEditorData.GeneralNicknamesListAltID,
+                                   &ContactEditorData.GeneralNicknamesListPID,
+                                   &ContactEditorData.GeneralNicknamesListType,
+                                   &ContactEditorData.GeneralNicknamesListLanguage,
+                                   &ContactEditorData.GeneralNicknamesListTokens,
+                                   &ContactEditorData.GeneralNicknamesListPref,
                                    lboNicknames,
                                    intSelectedData);
     frameCENickname->SetEditorMode(TRUE, CE_GENERAL);
@@ -98,13 +98,13 @@ void frmContactEditor::DeleteGeneralNickname( wxCommandEvent& event )
     lboNicknames->DeleteItem(longSelected);
     
     DeleteMapData(intSelectedData,
-                  &GeneralNicknamesList,
-                  &GeneralNicknamesListLanguage,
-                  &GeneralNicknamesListAltID,
-                  &GeneralNicknamesListPID,
-                  &GeneralNicknamesListTokens,
-                  &GeneralNicknamesListType,
-                  &GeneralNicknamesListPref);
+                  &ContactEditorData.GeneralNicknamesList,
+                  &ContactEditorData.GeneralNicknamesListLanguage,
+                  &ContactEditorData.GeneralNicknamesListAltID,
+                  &ContactEditorData.GeneralNicknamesListPID,
+                  &ContactEditorData.GeneralNicknamesListTokens,
+                  &ContactEditorData.GeneralNicknamesListType,
+                  &ContactEditorData.GeneralNicknamesListPref);
     
 }
 
@@ -115,22 +115,22 @@ void frmContactEditor::AddGeneralAddress( wxCommandEvent& event )
     
     frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
     frameCEAddress->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralAddressList);
-    frameCEAddress->SetupPointers(&GeneralAddressList,
-                                  &GeneralAddressListTown,
-                                  &GeneralAddressListCounty,
-                                  &GeneralAddressListPostCode,
-                                  &GeneralAddressListCountry,
-                                  &GeneralAddressListLabel,
-                                  &GeneralAddressListLang,
-                                  &GeneralAddressListAltID,
-                                  &GeneralAddressListPID,
-                                  &GeneralAddressListTokens,
-                                  &GeneralAddressListGeo,
-                                  &GeneralAddressListTimezone,
-                                  &GeneralAddressListType,
-                                  &GeneralAddressListMediatype,
-                                  &GeneralAddressListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralAddressList);
+    frameCEAddress->SetupPointers(&ContactEditorData.GeneralAddressList,
+                                  &ContactEditorData.GeneralAddressListTown,
+                                  &ContactEditorData.GeneralAddressListCounty,
+                                  &ContactEditorData.GeneralAddressListPostCode,
+                                  &ContactEditorData.GeneralAddressListCountry,
+                                  &ContactEditorData.GeneralAddressListLabel,
+                                  &ContactEditorData.GeneralAddressListLang,
+                                  &ContactEditorData.GeneralAddressListAltID,
+                                  &ContactEditorData.GeneralAddressListPID,
+                                  &ContactEditorData.GeneralAddressListTokens,
+                                  &ContactEditorData.GeneralAddressListGeo,
+                                  &ContactEditorData.GeneralAddressListTimezone,
+                                  &ContactEditorData.GeneralAddressListType,
+                                  &ContactEditorData.GeneralAddressListMediatype,
+                                  &ContactEditorData.GeneralAddressListPref,
                                   lboAddresses,
                                   (intValueSeek));
     frameCEAddress->ShowModal();
@@ -155,21 +155,21 @@ void frmContactEditor::ModifyGeneralAddress( wxCommandEvent& event )
     }
     
     frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
-    frameCEAddress->SetupPointers(&GeneralAddressList,
-                                  &GeneralAddressListTown,
-                                  &GeneralAddressListCounty,
-                                  &GeneralAddressListPostCode,
-                                  &GeneralAddressListCountry,
-                                  &GeneralAddressListLabel,
-                                  &GeneralAddressListLang,
-                                  &GeneralAddressListAltID,
-                                  &GeneralAddressListPID,
-                                  &GeneralAddressListTokens,
-                                  &GeneralAddressListGeo,
-                                  &GeneralAddressListTimezone,
-                                  &GeneralAddressListType,
-                                  &GeneralAddressListMediatype,
-                                  &GeneralAddressListPref,
+    frameCEAddress->SetupPointers(&ContactEditorData.GeneralAddressList,
+                                  &ContactEditorData.GeneralAddressListTown,
+                                  &ContactEditorData.GeneralAddressListCounty,
+                                  &ContactEditorData.GeneralAddressListPostCode,
+                                  &ContactEditorData.GeneralAddressListCountry,
+                                  &ContactEditorData.GeneralAddressListLabel,
+                                  &ContactEditorData.GeneralAddressListLang,
+                                  &ContactEditorData.GeneralAddressListAltID,
+                                  &ContactEditorData.GeneralAddressListPID,
+                                  &ContactEditorData.GeneralAddressListTokens,
+                                  &ContactEditorData.GeneralAddressListGeo,
+                                  &ContactEditorData.GeneralAddressListTimezone,
+                                  &ContactEditorData.GeneralAddressListType,
+                                  &ContactEditorData.GeneralAddressListMediatype,
+                                  &ContactEditorData.GeneralAddressListPref,
                                   lboAddresses,
                                   intSelectedData);
     frameCEAddress->SetEditorMode(TRUE, CE_GENERAL);
@@ -193,15 +193,15 @@ void frmContactEditor::DeleteGeneralAddress( wxCommandEvent& event )
     
     lboAddresses->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralAddressList,
-                  &GeneralAddressListTown, &GeneralAddressListCounty,
-                  &GeneralAddressListPostCode, &GeneralAddressListCountry,
-                  &GeneralAddressList, &GeneralAddressListLabel,
-                  &GeneralAddressListLang, &GeneralAddressListAltID,
-                  &GeneralAddressListPID, &GeneralAddressListTokens,
-                  &GeneralAddressListGeo, &GeneralAddressListTimezone,
-                  &GeneralAddressListType, &GeneralAddressListMediatype,
-                  &GeneralAddressListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralAddressList,
+                  &ContactEditorData.GeneralAddressListTown, &ContactEditorData.GeneralAddressListCounty,
+                  &ContactEditorData.GeneralAddressListPostCode, &ContactEditorData.GeneralAddressListCountry,
+                  &ContactEditorData.GeneralAddressList, &ContactEditorData.GeneralAddressListLabel,
+                  &ContactEditorData.GeneralAddressListLang, &ContactEditorData.GeneralAddressListAltID,
+                  &ContactEditorData.GeneralAddressListPID, &ContactEditorData.GeneralAddressListTokens,
+                  &ContactEditorData.GeneralAddressListGeo, &ContactEditorData.GeneralAddressListTimezone,
+                  &ContactEditorData.GeneralAddressListType, &ContactEditorData.GeneralAddressListMediatype,
+                  &ContactEditorData.GeneralAddressListPref);
     
 }
 
@@ -211,13 +211,13 @@ void frmContactEditor::AddGeneralEmail( wxCommandEvent& event )
     
     frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
     frameCEEmail->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralAddressList);
-    frameCEEmail->SetupPointers(&GeneralEmailList,
-                                &GeneralEmailListAltID,
-                                &GeneralEmailListPID,
-                                &GeneralEmailListType,
-                                &GeneralEmailListTokens,
-                                &GeneralEmailListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralAddressList);
+    frameCEEmail->SetupPointers(&ContactEditorData.GeneralEmailList,
+                                &ContactEditorData.GeneralEmailListAltID,
+                                &ContactEditorData.GeneralEmailListPID,
+                                &ContactEditorData.GeneralEmailListType,
+                                &ContactEditorData.GeneralEmailListTokens,
+                                &ContactEditorData.GeneralEmailListPref,
                                 lboEmails,
                                 (intValueSeek));
     frameCEEmail->ShowModal();
@@ -237,12 +237,12 @@ void frmContactEditor::ModifyGeneralEmail( wxCommandEvent& event )
     }
     
     frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
-    frameCEEmail->SetupPointers(&GeneralEmailList,
-                                &GeneralEmailListAltID,
-                                &GeneralEmailListPID,
-                                &GeneralEmailListType,
-                                &GeneralEmailListTokens,
-                                &GeneralEmailListPref,
+    frameCEEmail->SetupPointers(&ContactEditorData.GeneralEmailList,
+                                &ContactEditorData.GeneralEmailListAltID,
+                                &ContactEditorData.GeneralEmailListPID,
+                                &ContactEditorData.GeneralEmailListType,
+                                &ContactEditorData.GeneralEmailListTokens,
+                                &ContactEditorData.GeneralEmailListPref,
                                 lboEmails,
                                 intSelectedData);
     frameCEEmail->SetEditorMode(TRUE, CE_GENERAL);
@@ -264,10 +264,10 @@ void frmContactEditor::DeleteGeneralEmail( wxCommandEvent& event )
     
     lboEmails->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralEmailList,
-                  &GeneralEmailListAltID, &GeneralEmailListPID,
-                  &GeneralEmailListType, &GeneralEmailListTokens,
-                  &GeneralEmailListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralEmailList,
+                  &ContactEditorData.GeneralEmailListAltID, &ContactEditorData.GeneralEmailListPID,
+                  &ContactEditorData.GeneralEmailListType, &ContactEditorData.GeneralEmailListTokens,
+                  &ContactEditorData.GeneralEmailListPref);
     
 }
 
@@ -277,14 +277,14 @@ void frmContactEditor::AddGeneralIM( wxCommandEvent& event )
     
     frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
     frameCEIM->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralIMList);
-    frameCEIM->SetupPointers(&GeneralIMList,
-                             &GeneralIMListAltID,
-                             &GeneralIMListPID,
-                             &GeneralIMListType,
-                             &GeneralIMListTokens,
-                             &GeneralIMListMediatype,
-                             &GeneralIMListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralIMList);
+    frameCEIM->SetupPointers(&ContactEditorData.GeneralIMList,
+                             &ContactEditorData.GeneralIMListAltID,
+                             &ContactEditorData.GeneralIMListPID,
+                             &ContactEditorData.GeneralIMListType,
+                             &ContactEditorData.GeneralIMListTokens,
+                             &ContactEditorData.GeneralIMListMediatype,
+                             &ContactEditorData.GeneralIMListPref,
                              lboIM,
                              (intValueSeek));
     frameCEIM->ShowModal();
@@ -304,13 +304,13 @@ void frmContactEditor::ModifyGeneralIM( wxCommandEvent& event )
     }
     
     frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
-    frameCEIM->SetupPointers(&GeneralIMList,
-                             &GeneralIMListAltID,
-                             &GeneralIMListPID,
-                             &GeneralIMListType,
-                             &GeneralIMListTokens,
-                             &GeneralIMListMediatype,
-                             &GeneralIMListPref,
+    frameCEIM->SetupPointers(&ContactEditorData.GeneralIMList,
+                             &ContactEditorData.GeneralIMListAltID,
+                             &ContactEditorData.GeneralIMListPID,
+                             &ContactEditorData.GeneralIMListType,
+                             &ContactEditorData.GeneralIMListTokens,
+                             &ContactEditorData.GeneralIMListMediatype,
+                             &ContactEditorData.GeneralIMListPref,
                              lboIM,
                              intSelectedData);
     frameCEIM->SetEditorMode(TRUE, CE_GENERAL);
@@ -332,10 +332,10 @@ void frmContactEditor::DeleteGeneralIM( wxCommandEvent& event )
     
     lboIM->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralIMList,
-                  &GeneralIMListAltID, &GeneralIMListPID,
-                  &GeneralIMListType, &GeneralIMListTokens,
-                  &GeneralIMListMediatype, &GeneralIMListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralIMList,
+                  &ContactEditorData.GeneralIMListAltID, &ContactEditorData.GeneralIMListPID,
+                  &ContactEditorData.GeneralIMListType, &ContactEditorData.GeneralIMListTokens,
+                  &ContactEditorData.GeneralIMListMediatype, &ContactEditorData.GeneralIMListPref);
     
 }
 
@@ -345,13 +345,13 @@ void frmContactEditor::AddGeneralTelephone( wxCommandEvent& event )
     
     frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
     frameCETel->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralTelephoneList);
-    frameCETel->SetupPointers(&GeneralTelephoneList,
-                              &GeneralTelephoneListAltID,
-                              &GeneralTelephoneListPID,
-                              &GeneralTelephoneListType,
-                              &GeneralTelephoneListTokens,
-                              &GeneralTelephoneListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralTelephoneList);
+    frameCETel->SetupPointers(&ContactEditorData.GeneralTelephoneList,
+                              &ContactEditorData.GeneralTelephoneListAltID,
+                              &ContactEditorData.GeneralTelephoneListPID,
+                              &ContactEditorData.GeneralTelephoneListType,
+                              &ContactEditorData.GeneralTelephoneListTokens,
+                              &ContactEditorData.GeneralTelephoneListPref,
                               lboTelephone,
                               (intValueSeek));
     frameCETel->ShowModal();
@@ -371,12 +371,12 @@ void frmContactEditor::ModifyGeneralTelephone( wxCommandEvent& event )
     }
     
     frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
-    frameCETel->SetupPointers(&GeneralTelephoneList,
-                              &GeneralTelephoneListAltID,
-                              &GeneralTelephoneListPID,
-                              &GeneralTelephoneListType,
-                              &GeneralTelephoneListTokens,
-                              &GeneralTelephoneListPref,
+    frameCETel->SetupPointers(&ContactEditorData.GeneralTelephoneList,
+                              &ContactEditorData.GeneralTelephoneListAltID,
+                              &ContactEditorData.GeneralTelephoneListPID,
+                              &ContactEditorData.GeneralTelephoneListType,
+                              &ContactEditorData.GeneralTelephoneListTokens,
+                              &ContactEditorData.GeneralTelephoneListPref,
                               lboTelephone,
                               intSelectedData);
     frameCETel->SetEditorMode(TRUE, CE_GENERAL);
@@ -398,10 +398,10 @@ void frmContactEditor::DeleteGeneralTelephone( wxCommandEvent& event )
     
     lboTelephone->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralTelephoneList,
-                  &GeneralTelephoneListAltID, &GeneralTelephoneListPID,
-                  &GeneralTelephoneListType, &GeneralTelephoneListTokens,
-                  &GeneralTelephoneListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralTelephoneList,
+                  &ContactEditorData.GeneralTelephoneListAltID, &ContactEditorData.GeneralTelephoneListPID,
+                  &ContactEditorData.GeneralTelephoneListType, &ContactEditorData.GeneralTelephoneListTokens,
+                  &ContactEditorData.GeneralTelephoneListPref);
     
 }
 
@@ -411,13 +411,13 @@ void frmContactEditor::AddGeneralLanguages( wxCommandEvent& event )
     
     frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
     frameCELang->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralLanguageList);
-    frameCELang->SetupPointers(&GeneralLanguageList,
-                               &GeneralLanguageListAltID,
-                               &GeneralLanguageListPID,
-                               &GeneralLanguageListType,
-                               &GeneralLanguageListTokens,
-                               &GeneralLanguageListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralLanguageList);
+    frameCELang->SetupPointers(&ContactEditorData.GeneralLanguageList,
+                               &ContactEditorData.GeneralLanguageListAltID,
+                               &ContactEditorData.GeneralLanguageListPID,
+                               &ContactEditorData.GeneralLanguageListType,
+                               &ContactEditorData.GeneralLanguageListTokens,
+                               &ContactEditorData.GeneralLanguageListPref,
                                lboLanguages,
                                (intValueSeek));
     frameCELang->ShowModal();
@@ -437,12 +437,12 @@ void frmContactEditor::ModifyGeneralLanguages( wxCommandEvent& event )
     }
     
     frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
-    frameCELang->SetupPointers(&GeneralLanguageList,
-                               &GeneralLanguageListAltID,
-                               &GeneralLanguageListPID,
-                               &GeneralLanguageListType,
-                               &GeneralLanguageListTokens,
-                               &GeneralLanguageListPref,
+    frameCELang->SetupPointers(&ContactEditorData.GeneralLanguageList,
+                               &ContactEditorData.GeneralLanguageListAltID,
+                               &ContactEditorData.GeneralLanguageListPID,
+                               &ContactEditorData.GeneralLanguageListType,
+                               &ContactEditorData.GeneralLanguageListTokens,
+                               &ContactEditorData.GeneralLanguageListPref,
                                lboLanguages,
                                intSelectedData);
     frameCELang->SetEditorMode(TRUE, CE_GENERAL);
@@ -464,10 +464,10 @@ void frmContactEditor::DeleteGeneralLanguage( wxCommandEvent& event )
     
     lboLanguages->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralLanguageList,
-                  &GeneralLanguageListAltID, &GeneralLanguageListPID,
-                  &GeneralLanguageListType, &GeneralLanguageListTokens,
-                  &GeneralLanguageListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralLanguageList,
+                  &ContactEditorData.GeneralLanguageListAltID, &ContactEditorData.GeneralLanguageListPID,
+                  &ContactEditorData.GeneralLanguageListType, &ContactEditorData.GeneralLanguageListTokens,
+                  &ContactEditorData.GeneralLanguageListPref);
     
 }
 
@@ -477,14 +477,14 @@ void frmContactEditor::AddGeneralTimezone( wxCommandEvent& event )
     
     frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
     frameCETZ->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralTZList);
-    frameCETZ->SetupPointers(&GeneralTZList,
-                             &GeneralTZListAltID,
-                             &GeneralTZListPID,
-                             &GeneralTZListType,
-                             &GeneralTZListTokens,
-                             &GeneralTZListMediatype,
-                             &GeneralTZListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralTZList);
+    frameCETZ->SetupPointers(&ContactEditorData.GeneralTZList,
+                             &ContactEditorData.GeneralTZListAltID,
+                             &ContactEditorData.GeneralTZListPID,
+                             &ContactEditorData.GeneralTZListType,
+                             &ContactEditorData.GeneralTZListTokens,
+                             &ContactEditorData.GeneralTZListMediatype,
+                             &ContactEditorData.GeneralTZListPref,
                              lboTimezones,
                              (intValueSeek));
     frameCETZ->ShowModal();
@@ -504,13 +504,13 @@ void frmContactEditor::ModifyGeneralTimezone( wxCommandEvent& event )
     }
     
     frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
-    frameCETZ->SetupPointers(&GeneralTZList,
-                             &GeneralTZListAltID,
-                             &GeneralTZListPID,
-                             &GeneralTZListType,
-                             &GeneralTZListTokens,
-                             &GeneralTZListMediatype,
-                             &GeneralTZListPref,
+    frameCETZ->SetupPointers(&ContactEditorData.GeneralTZList,
+                             &ContactEditorData.GeneralTZListAltID,
+                             &ContactEditorData.GeneralTZListPID,
+                             &ContactEditorData.GeneralTZListType,
+                             &ContactEditorData.GeneralTZListTokens,
+                             &ContactEditorData.GeneralTZListMediatype,
+                             &ContactEditorData.GeneralTZListPref,
                              lboTimezones,
                              intSelectedData);
     frameCETZ->SetEditorMode(TRUE, CE_GENERAL);
@@ -532,10 +532,10 @@ void frmContactEditor::DeleteGeneralTimezone( wxCommandEvent& event )
     
     lboTimezones->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralTZList,
-                  &GeneralTZListAltID, &GeneralTZListPID,
-                  &GeneralTZListType, &GeneralTZListTokens,
-                  &GeneralTZListMediatype, &GeneralTZListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralTZList,
+                  &ContactEditorData.GeneralTZListAltID, &ContactEditorData.GeneralTZListPID,
+                  &ContactEditorData.GeneralTZListType, &ContactEditorData.GeneralTZListTokens,
+                  &ContactEditorData.GeneralTZListMediatype, &ContactEditorData.GeneralTZListPref);
     
 }
 
@@ -545,14 +545,14 @@ void frmContactEditor::AddGeneralGeoposition( wxCommandEvent& event )
     
     frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
     frameCEGeo->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralGeographyList);
-    frameCEGeo->SetupPointers(&GeneralGeographyList,
-                              &GeneralGeographyListAltID,
-                              &GeneralGeographyListPID,
-                              &GeneralGeographyListType,
-                              &GeneralGeographyListTokens,
-                              &GeneralGeographyListMediatype,
-                              &GeneralGeographyListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralGeographyList);
+    frameCEGeo->SetupPointers(&ContactEditorData.GeneralGeographyList,
+                              &ContactEditorData.GeneralGeographyListAltID,
+                              &ContactEditorData.GeneralGeographyListPID,
+                              &ContactEditorData.GeneralGeographyListType,
+                              &ContactEditorData.GeneralGeographyListTokens,
+                              &ContactEditorData.GeneralGeographyListMediatype,
+                              &ContactEditorData.GeneralGeographyListPref,
                               lboGeoposition,
                               (intValueSeek));
     frameCEGeo->ShowModal();
@@ -572,13 +572,13 @@ void frmContactEditor::ModifyGeneralGeoposition( wxCommandEvent& event )
     }
     
     frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
-    frameCEGeo->SetupPointers(&GeneralGeographyList,
-                              &GeneralGeographyListAltID,
-                              &GeneralGeographyListPID,
-                              &GeneralGeographyListType,
-                              &GeneralGeographyListTokens,
-                              &GeneralGeographyListMediatype,
-                              &GeneralGeographyListPref,
+    frameCEGeo->SetupPointers(&ContactEditorData.GeneralGeographyList,
+                              &ContactEditorData.GeneralGeographyListAltID,
+                              &ContactEditorData.GeneralGeographyListPID,
+                              &ContactEditorData.GeneralGeographyListType,
+                              &ContactEditorData.GeneralGeographyListTokens,
+                              &ContactEditorData.GeneralGeographyListMediatype,
+                              &ContactEditorData.GeneralGeographyListPref,
                               lboGeoposition,
                               intSelectedData);
     frameCEGeo->SetEditorMode(TRUE, CE_GENERAL);
@@ -600,10 +600,10 @@ void frmContactEditor::DeleteGeneralGeoposition( wxCommandEvent& event )
     
     lboGeoposition->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralGeographyList,
-                  &GeneralGeographyListAltID, &GeneralGeographyListPID,
-                  &GeneralGeographyListType, &GeneralGeographyListTokens,
-                  &GeneralGeographyListMediatype, &GeneralGeographyListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralGeographyList,
+                  &ContactEditorData.GeneralGeographyListAltID, &ContactEditorData.GeneralGeographyListPID,
+                  &ContactEditorData.GeneralGeographyListType, &ContactEditorData.GeneralGeographyListTokens,
+                  &ContactEditorData.GeneralGeographyListMediatype, &ContactEditorData.GeneralGeographyListPref);
     
 }
 
@@ -613,14 +613,14 @@ void frmContactEditor::AddGeneralRelated( wxCommandEvent& event )
     
     frmContactEditorRelated *frameCERel = new frmContactEditorRelated ( this );
     frameCERel->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralRelatedList);
-    frameCERel->SetupPointers(&GeneralRelatedList,
-                              &GeneralRelatedListRelType,
-                              &GeneralRelatedListAltID,
-                              &GeneralRelatedListPID,
-                              &GeneralRelatedListType,
-                              &GeneralRelatedListTokens,
-                              &GeneralRelatedListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralRelatedList);
+    frameCERel->SetupPointers(&ContactEditorData.GeneralRelatedList,
+                              &ContactEditorData.GeneralRelatedListRelType,
+                              &ContactEditorData.GeneralRelatedListAltID,
+                              &ContactEditorData.GeneralRelatedListPID,
+                              &ContactEditorData.GeneralRelatedListType,
+                              &ContactEditorData.GeneralRelatedListTokens,
+                              &ContactEditorData.GeneralRelatedListPref,
                               lboRelated,
                               (intValueSeek));
     frameCERel->ShowModal();
@@ -640,13 +640,13 @@ void frmContactEditor::ModifyGeneralRelated( wxCommandEvent& event )
     }
     
     frmContactEditorRelated *frameCERel = new frmContactEditorRelated ( this );
-    frameCERel->SetupPointers(&GeneralRelatedList,
-                              &GeneralRelatedListRelType,
-                              &GeneralRelatedListAltID,
-                              &GeneralRelatedListPID,
-                              &GeneralRelatedListType,
-                              &GeneralRelatedListTokens,
-                              &GeneralRelatedListPref,
+    frameCERel->SetupPointers(&ContactEditorData.GeneralRelatedList,
+                              &ContactEditorData.GeneralRelatedListRelType,
+                              &ContactEditorData.GeneralRelatedListAltID,
+                              &ContactEditorData.GeneralRelatedListPID,
+                              &ContactEditorData.GeneralRelatedListType,
+                              &ContactEditorData.GeneralRelatedListTokens,
+                              &ContactEditorData.GeneralRelatedListPref,
                               lboRelated,
                               intSelectedData);
     frameCERel->SetEditorMode(TRUE, CE_GENERAL);
@@ -683,14 +683,14 @@ void frmContactEditor::AddGeneralWebsite( wxCommandEvent& event )
     
     frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
     frameCEWeb->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralWebsiteList);
-    frameCEWeb->SetupPointers(&GeneralWebsiteList,
-                              &GeneralWebsiteListAltID,
-                              &GeneralWebsiteListPID,
-                              &GeneralWebsiteListType,
-                              &GeneralWebsiteListTokens,
-                              &GeneralWebsiteListMediatype,
-                              &GeneralWebsiteListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralWebsiteList);
+    frameCEWeb->SetupPointers(&ContactEditorData.GeneralWebsiteList,
+                              &ContactEditorData.GeneralWebsiteListAltID,
+                              &ContactEditorData.GeneralWebsiteListPID,
+                              &ContactEditorData.GeneralWebsiteListType,
+                              &ContactEditorData.GeneralWebsiteListTokens,
+                              &ContactEditorData.GeneralWebsiteListMediatype,
+                              &ContactEditorData.GeneralWebsiteListPref,
                               lboWebsites,
                               (intValueSeek));
     frameCEWeb->ShowModal();
@@ -710,13 +710,13 @@ void frmContactEditor::ModifyGeneralWebsite( wxCommandEvent& event )
     }
     
     frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
-    frameCEWeb->SetupPointers(&GeneralWebsiteList,
-                              &GeneralWebsiteListAltID,
-                              &GeneralWebsiteListPID,
-                              &GeneralWebsiteListType,
-                              &GeneralWebsiteListTokens,
-                              &GeneralWebsiteListMediatype,
-                              &GeneralWebsiteListPref,
+    frameCEWeb->SetupPointers(&ContactEditorData.GeneralWebsiteList,
+                              &ContactEditorData.GeneralWebsiteListAltID,
+                              &ContactEditorData.GeneralWebsiteListPID,
+                              &ContactEditorData.GeneralWebsiteListType,
+                              &ContactEditorData.GeneralWebsiteListTokens,
+                              &ContactEditorData.GeneralWebsiteListMediatype,
+                              &ContactEditorData.GeneralWebsiteListPref,
                               lboWebsites,
                               intSelectedData);
     frameCEWeb->SetEditorMode(TRUE, CE_GENERAL);
@@ -738,10 +738,10 @@ void frmContactEditor::DeleteGeneralWebsite( wxCommandEvent& event )
     
     lboWebsites->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralWebsiteList,
-                  &GeneralWebsiteListAltID, &GeneralWebsiteListPID,
-                  &GeneralWebsiteListType, &GeneralWebsiteListTokens,
-                  &GeneralWebsiteListMediatype, &GeneralWebsiteListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralWebsiteList,
+                  &ContactEditorData.GeneralWebsiteListAltID, &ContactEditorData.GeneralWebsiteListPID,
+                  &ContactEditorData.GeneralWebsiteListType, &ContactEditorData.GeneralWebsiteListTokens,
+                  &ContactEditorData.GeneralWebsiteListMediatype, &ContactEditorData.GeneralWebsiteListPref);
     
 }
 
@@ -751,14 +751,14 @@ void frmContactEditor::AddGeneralTitle( wxCommandEvent& event )
     
     frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
     frameCETitle->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralTitleList);
-    frameCETitle->SetupPointers(&GeneralTitleList,
-                                &GeneralTitleListLanguage,
-                                &GeneralTitleListAltID,
-                                &GeneralTitleListPID,
-                                &GeneralTitleListType,
-                                &GeneralTitleListTokens,
-                                &GeneralTitleListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralTitleList);
+    frameCETitle->SetupPointers(&ContactEditorData.GeneralTitleList,
+                                &ContactEditorData.GeneralTitleListLanguage,
+                                &ContactEditorData.GeneralTitleListAltID,
+                                &ContactEditorData.GeneralTitleListPID,
+                                &ContactEditorData.GeneralTitleListType,
+                                &ContactEditorData.GeneralTitleListTokens,
+                                &ContactEditorData.GeneralTitleListPref,
                                 lboTitles,
                                 (intValueSeek));
     frameCETitle->ShowModal();
@@ -778,13 +778,13 @@ void frmContactEditor::ModifyGeneralTitle( wxCommandEvent& event )
     }
     
     frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
-    frameCETitle->SetupPointers(&GeneralTitleList,
-                                &GeneralTitleListLanguage,
-                                &GeneralTitleListAltID,
-                                &GeneralTitleListPID,
-                                &GeneralTitleListType,
-                                &GeneralTitleListTokens,
-                                &GeneralTitleListPref,
+    frameCETitle->SetupPointers(&ContactEditorData.GeneralTitleList,
+                                &ContactEditorData.GeneralTitleListLanguage,
+                                &ContactEditorData.GeneralTitleListAltID,
+                                &ContactEditorData.GeneralTitleListPID,
+                                &ContactEditorData.GeneralTitleListType,
+                                &ContactEditorData.GeneralTitleListTokens,
+                                &ContactEditorData.GeneralTitleListPref,
                                 lboTitles,
                                 intSelectedData);
     frameCETitle->SetEditorMode(TRUE, CE_GENERAL);
@@ -806,10 +806,10 @@ void frmContactEditor::DeleteGeneralTitle( wxCommandEvent& event )
     
     lboTitles->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralTitleList,
-                  &GeneralTitleListLanguage, &GeneralTitleListAltID,
-                  &GeneralTitleListPID, &GeneralTitleListType,
-                  &GeneralTitleListTokens, &GeneralTitleListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralTitleList,
+                  &ContactEditorData.GeneralTitleListLanguage, &ContactEditorData.GeneralTitleListAltID,
+                  &ContactEditorData.GeneralTitleListPID, &ContactEditorData.GeneralTitleListType,
+                  &ContactEditorData.GeneralTitleListTokens, &ContactEditorData.GeneralTitleListPref);
     
 }
 
@@ -819,14 +819,14 @@ void frmContactEditor::AddGeneralRole( wxCommandEvent& event )
     
     frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
     frameCERole->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralRoleList);
-    frameCERole->SetupPointers(&GeneralRoleList,
-                               &GeneralRoleListLanguage,
-                               &GeneralRoleListAltID,
-                               &GeneralRoleListPID,
-                               &GeneralRoleListType,
-                               &GeneralRoleListTokens,
-                               &GeneralRoleListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralRoleList);
+    frameCERole->SetupPointers(&ContactEditorData.GeneralRoleList,
+                               &ContactEditorData.GeneralRoleListLanguage,
+                               &ContactEditorData.GeneralRoleListAltID,
+                               &ContactEditorData.GeneralRoleListPID,
+                               &ContactEditorData.GeneralRoleListType,
+                               &ContactEditorData.GeneralRoleListTokens,
+                               &ContactEditorData.GeneralRoleListPref,
                                lboRoles,
                                (intValueSeek));
     frameCERole->ShowModal();
@@ -846,13 +846,13 @@ void frmContactEditor::ModifyGeneralRole( wxCommandEvent& event )
     }
     
     frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
-    frameCERole->SetupPointers(&GeneralRoleList,
-                               &GeneralRoleListLanguage,
-                               &GeneralRoleListAltID,
-                               &GeneralRoleListPID,
-                               &GeneralRoleListType,
-                               &GeneralRoleListTokens,
-                               &GeneralRoleListPref,
+    frameCERole->SetupPointers(&ContactEditorData.GeneralRoleList,
+                               &ContactEditorData.GeneralRoleListLanguage,
+                               &ContactEditorData.GeneralRoleListAltID,
+                               &ContactEditorData.GeneralRoleListPID,
+                               &ContactEditorData.GeneralRoleListType,
+                               &ContactEditorData.GeneralRoleListTokens,
+                               &ContactEditorData.GeneralRoleListPref,
                                lboRoles,
                                intSelectedData);
     frameCERole->SetEditorMode(TRUE, CE_GENERAL);
@@ -874,10 +874,10 @@ void frmContactEditor::DeleteGeneralRole( wxCommandEvent& event )
     
     lboRoles->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralRoleList,
-                  &GeneralRoleListLanguage, &GeneralRoleListAltID,
-                  &GeneralRoleListPID, &GeneralRoleListType,
-                  &GeneralRoleListTokens, &GeneralRoleListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralRoleList,
+                  &ContactEditorData.GeneralRoleListLanguage, &ContactEditorData.GeneralRoleListAltID,
+                  &ContactEditorData.GeneralRoleListPID, &ContactEditorData.GeneralRoleListType,
+                  &ContactEditorData.GeneralRoleListTokens, &ContactEditorData.GeneralRoleListPref);
     
 }
 
@@ -887,15 +887,15 @@ void frmContactEditor::AddGeneralOrganisation( wxCommandEvent& event )
     
     frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
     frameCEOrg->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralOrganisationsList);
-    frameCEOrg->SetupPointers(&GeneralOrganisationsList,
-                              &GeneralOrganisationsListLanguage,
-                              &GeneralOrganisationsListSortAs,
-                              &GeneralOrganisationsListAltID,
-                              &GeneralOrganisationsListPID,
-                              &GeneralOrganisationsListType,
-                              &GeneralOrganisationsListTokens,
-                              &GeneralOrganisationsListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralOrganisationsList);
+    frameCEOrg->SetupPointers(&ContactEditorData.GeneralOrganisationsList,
+                              &ContactEditorData.GeneralOrganisationsListLanguage,
+                              &ContactEditorData.GeneralOrganisationsListSortAs,
+                              &ContactEditorData.GeneralOrganisationsListAltID,
+                              &ContactEditorData.GeneralOrganisationsListPID,
+                              &ContactEditorData.GeneralOrganisationsListType,
+                              &ContactEditorData.GeneralOrganisationsListTokens,
+                              &ContactEditorData.GeneralOrganisationsListPref,
                               lboOrganisations,
                               (intValueSeek));
     frameCEOrg->ShowModal();
@@ -915,14 +915,14 @@ void frmContactEditor::ModifyGeneralOrganisation( wxCommandEvent& event )
     }
     
     frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
-    frameCEOrg->SetupPointers(&GeneralOrganisationsList,
-                              &GeneralOrganisationsListLanguage,
-                              &GeneralOrganisationsListSortAs,
-                              &GeneralOrganisationsListAltID,
-                              &GeneralOrganisationsListPID,
-                              &GeneralOrganisationsListType,
-                              &GeneralOrganisationsListTokens,
-                              &GeneralOrganisationsListPref,
+    frameCEOrg->SetupPointers(&ContactEditorData.GeneralOrganisationsList,
+                              &ContactEditorData.GeneralOrganisationsListLanguage,
+                              &ContactEditorData.GeneralOrganisationsListSortAs,
+                              &ContactEditorData.GeneralOrganisationsListAltID,
+                              &ContactEditorData.GeneralOrganisationsListPID,
+                              &ContactEditorData.GeneralOrganisationsListType,
+                              &ContactEditorData.GeneralOrganisationsListTokens,
+                              &ContactEditorData.GeneralOrganisationsListPref,
                               lboOrganisations,
                               intSelectedData);
     frameCEOrg->SetEditorMode(TRUE, CE_GENERAL);
@@ -944,11 +944,11 @@ void frmContactEditor::DeleteGeneralOrganisation( wxCommandEvent& event )
     
     lboOrganisations->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralOrganisationsList,
-                  &GeneralOrganisationsListLanguage, &GeneralOrganisationsListSortAs,
-                  &GeneralOrganisationsListAltID, &GeneralOrganisationsListPID,
-                  &GeneralOrganisationsListType, &GeneralOrganisationsListTokens,
-                  &GeneralOrganisationsListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralOrganisationsList,
+                  &ContactEditorData.GeneralOrganisationsListLanguage, &ContactEditorData.GeneralOrganisationsListSortAs,
+                  &ContactEditorData.GeneralOrganisationsListAltID, &ContactEditorData.GeneralOrganisationsListPID,
+                  &ContactEditorData.GeneralOrganisationsListType, &ContactEditorData.GeneralOrganisationsListTokens,
+                  &ContactEditorData.GeneralOrganisationsListPref);
     
 }
 
@@ -958,14 +958,14 @@ void frmContactEditor::AddGeneralNote( wxCommandEvent& event )
     
     frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
     frameCENote->SetEditorMode(FALSE, CE_GENERAL);
-    intResult = GetLastInt(&GeneralNoteList);
-    frameCENote->SetupPointers(&GeneralNoteList,
-                               &GeneralNoteListLanguage,
-                               &GeneralNoteListAltID,
-                               &GeneralNoteListPID,
-                               &GeneralNoteListType,
-                               &GeneralNoteListTokens,
-                               &GeneralNoteListPref,
+    intResult = GetLastInt(&ContactEditorData.GeneralNoteList);
+    frameCENote->SetupPointers(&ContactEditorData.GeneralNoteList,
+                               &ContactEditorData.GeneralNoteListLanguage,
+                               &ContactEditorData.GeneralNoteListAltID,
+                               &ContactEditorData.GeneralNoteListPID,
+                               &ContactEditorData.GeneralNoteListType,
+                               &ContactEditorData.GeneralNoteListTokens,
+                               &ContactEditorData.GeneralNoteListPref,
                                lboNotes,
                                (intValueSeek));
     frameCENote->ShowModal();
@@ -985,13 +985,13 @@ void frmContactEditor::ModifyGeneralNote( wxCommandEvent& event )
     }
     
     frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
-    frameCENote->SetupPointers(&GeneralNoteList,
-                               &GeneralNoteListLanguage,
-                               &GeneralNoteListAltID,
-                               &GeneralNoteListPID,
-                               &GeneralNoteListType,
-                               &GeneralNoteListTokens,
-                               &GeneralNoteListPref,
+    frameCENote->SetupPointers(&ContactEditorData.GeneralNoteList,
+                               &ContactEditorData.GeneralNoteListLanguage,
+                               &ContactEditorData.GeneralNoteListAltID,
+                               &ContactEditorData.GeneralNoteListPID,
+                               &ContactEditorData.GeneralNoteListType,
+                               &ContactEditorData.GeneralNoteListTokens,
+                               &ContactEditorData.GeneralNoteListPref,
                                lboNotes,
                                intSelectedData);
     frameCENote->SetEditorMode(TRUE, CE_GENERAL);
@@ -1013,9 +1013,9 @@ void frmContactEditor::DeleteGeneralNote( wxCommandEvent& event )
     
     lboNotes->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &GeneralNoteList,
-                  &GeneralNoteListLanguage, &GeneralNoteListAltID,
-                  &GeneralNoteListPID, &GeneralNoteListType,
-                  &GeneralNoteListTokens, &GeneralNoteListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.GeneralNoteList,
+                  &ContactEditorData.GeneralNoteListLanguage, &ContactEditorData.GeneralNoteListAltID,
+                  &ContactEditorData.GeneralNoteListPID, &ContactEditorData.GeneralNoteListType,
+                  &ContactEditorData.GeneralNoteListTokens, &ContactEditorData.GeneralNoteListPref);
     
 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy