X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-Groups.cpp;h=ef56a7f9d99f656b0a3e76ab58ac5ae762f9fa6f;hb=b94bd4dabb26fa35fbe348b70ef7b75622210471;hp=91329aea923fc48ffe580958405774033feafc4b;hpb=5b2b2bcea1ab1dfd2b74589573cd16ee9326c4b9;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Groups.cpp b/source/contacteditor/frmContactEditor-Groups.cpp index 91329ae..ef56a7f 100644 --- a/source/contacteditor/frmContactEditor-Groups.cpp +++ b/source/contacteditor/frmContactEditor-Groups.cpp @@ -1,3 +1,21 @@ +// frmContactEditor-Groups.cpp - frmContactEditor Groups tab subroutines. +// +// (c) 2012-2016 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + #include "frmContactEditor.h" #include "frmContactEditorGroups.h" #include "../frmMain.h" @@ -11,8 +29,8 @@ void frmContactEditor::AddGroup( wxCommandEvent& event ) frmContactEditorGroup *frameCEGroup = new frmContactEditorGroup ( this ); frameCEGroup->SetEditorMode(FALSE, XVMData); - intResult = GetLastInt(&GroupsList); - frameCEGroup->SetupPointers(&GroupsList, + intResult = GetLastInt(&ContactEditorData.GroupsList); + frameCEGroup->SetupPointers(&ContactEditorData.GroupsList, lboGroups, wxSContactAccount, intValueSeek); @@ -43,6 +61,6 @@ void frmContactEditor::DeleteGroup( wxCommandEvent& event ) lboGroups->DeleteItem(longSelected); - DeleteMapData(intSelectedData, &GroupsList); + DeleteMapData(intSelectedData, &ContactEditorData.GroupsList); } \ No newline at end of file