// Process the unique ID (UID)
- UIDToken = ContactEditorData.UIDToken;
-
+ // Do nothing at the moment.
+
// Process the contact type (KIND) (frmContactEditor-LoadGroup.cpp)
LoadKind(&ContactEditorData.ContactKind);
// Process the instant messaging (IMPP).
- LoadData(&ContactEditorData.GeneralIMList,
+ LoadData(&ContactEditorData.GeneralIMListTypeInfo,
&ContactEditorData.GeneralIMListPref,
- &ContactEditorData.GeneralIMListTypeInfo,
+ &ContactEditorData.GeneralIMList,
lboIM,
- &ContactEditorData.HomeIMList,
- &ContactEditorData.HomeIMListPref,
&ContactEditorData.HomeIMListTypeInfo,
+ &ContactEditorData.HomeIMListPref,
+ &ContactEditorData.HomeIMList,
lboHomeIM,
- &ContactEditorData.BusinessIMList,
- &ContactEditorData.BusinessIMListPref,
&ContactEditorData.BusinessIMListTypeInfo,
+ &ContactEditorData.BusinessIMListPref,
+ &ContactEditorData.BusinessIMList,
lboBusinessIM,
&IMPPCount);
void frmContactEditor::LoadBirthday(wxString *BirthdayData, bool *BirthdayText){
+ if (BirthdayData->IsEmpty()){
+ return;
+ }
+
if (*BirthdayText == FALSE){
int DateYear = 0;
wxString wxSData;
- if (Birthday.Mid(0, 2) == wxT("--")){
+ if (BirthdayData->Mid(0, 2) == wxT("--")){
// Skip year.
void frmContactEditor::LoadAnniversary(wxString *AnniversaryData, bool *AnniversaryText){
+ if (AnniversaryData->IsEmpty()){
+ return;
+ }
+
if (*AnniversaryText == FALSE){
int DateYear = 0;
wxString wxSData;
- if (Anniversary.Mid(0, 2) == wxT("--")){
+ if (AnniversaryData->Mid(0, 2) == wxT("--")){
// Skip year.