X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-LoadName.cpp;h=c6c5b21ef8014703ac710423a47f5315c20d015d;hb=10578374729faf0e812c1953dee1b539a48ce091;hp=11d2ae705c63892c5e41dc0bf87543d5efd7bb42;hpb=0f855c5d57f952d2aae11759a60de90146e03c68;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-LoadName.cpp b/source/contacteditor/frmContactEditor-LoadName.cpp index 11d2ae7..c6c5b21 100644 --- a/source/contacteditor/frmContactEditor-LoadName.cpp +++ b/source/contacteditor/frmContactEditor-LoadName.cpp @@ -1,3 +1,21 @@ +// frmContactEditor-LoadName.cpp - frmContactEditor load name subroutines. +// +// (c) 2012-2015 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" void frmContactEditor::LoadFN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *FNCount, @@ -213,6 +231,18 @@ void frmContactEditor::LoadFN(wxString wxSPropertySeg1, wxString wxSPropertySeg2 } +void frmContactEditor::LoadName(wxString *NameTitle, wxString *NameForename, + wxString *NameSurname, wxString *NameOtherNames, + wxString *NameSuffix){ + + txtTitle->SetValue(*NameTitle); + txtForename->SetValue(*NameForename); + txtSurname->SetValue(*NameSurname); + txtOtherNames->SetValue(*NameOtherNames); + txtSuffix->SetValue(*NameSuffix); + +} + void frmContactEditor::LoadN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *NameProcessed, vCard *ContactData){