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

index 435eb38..f97800f 100644 (file)
@@ -25,15 +25,15 @@ void frmContactEditor::AddKey( wxCommandEvent& event )
     
     frmContactEditorKey *frameCEKey = new frmContactEditorKey ( this );
     frameCEKey->SetEditorMode(FALSE);
-    intResult = GetLastInt(&KeyList);
-    frameCEKey->SetupPointers(&KeyList,
-                              &KeyListAltID,
-                              &KeyListPID,
-                              &KeyListKeyType,
-                              &KeyListDataType,
-                              &KeyListType,
-                              &KeyListTokens,
-                              &KeyListPref,
+    intResult = GetLastInt(&ContactEditorData.KeyList);
+    frameCEKey->SetupPointers(&ContactEditorData.KeyList,
+                              &ContactEditorData.KeyListAltID,
+                              &ContactEditorData.KeyListPID,
+                              &ContactEditorData.KeyListKeyType,
+                              &ContactEditorData.KeyListDataType,
+                              &ContactEditorData.KeyListType,
+                              &ContactEditorData.KeyListTokens,
+                              &ContactEditorData.KeyListPref,
                               lboKeys,
                               (intValueSeek));
     frameCEKey->ShowModal();
@@ -53,14 +53,14 @@ void frmContactEditor::ModifyKey( wxCommandEvent& event )
     }
     
     frmContactEditorKey *frameCEKey = new frmContactEditorKey ( this );
-    frameCEKey->SetupPointers(&KeyList,
-                              &KeyListAltID,
-                              &KeyListPID,
-                              &KeyListKeyType,
-                              &KeyListDataType,
-                              &KeyListType,
-                              &KeyListTokens,
-                              &KeyListPref,
+    frameCEKey->SetupPointers(&ContactEditorData.KeyList,
+                              &ContactEditorData.KeyListAltID,
+                              &ContactEditorData.KeyListPID,
+                              &ContactEditorData.KeyListKeyType,
+                              &ContactEditorData.KeyListDataType,
+                              &ContactEditorData.KeyListType,
+                              &ContactEditorData.KeyListTokens,
+                              &ContactEditorData.KeyListPref,
                               lboKeys,
                               intSelectedData);
     frameCEKey->SetEditorMode(TRUE);
@@ -82,8 +82,8 @@ void frmContactEditor::DeleteKey( wxCommandEvent& event )
     
     lboKeys->DeleteItem(longSelected);
     
-    DeleteMapData(intSelectedData, &KeyList, &KeyListAltID,
-                  &KeyListPID, &KeyListKeyType, &KeyListDataType, &KeyListType,
-                  &KeyListTokens, &KeyListPref);
+    DeleteMapData(intSelectedData, &ContactEditorData.KeyList, &ContactEditorData.KeyListAltID,
+                  &ContactEditorData.KeyListPID, &ContactEditorData.KeyListKeyType, &ContactEditorData.KeyListDataType, &ContactEditorData.KeyListType,
+                  &ContactEditorData.KeyListTokens, &ContactEditorData.KeyListPref);
     
 }
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