// 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;
void frmContactEditor::LoadAnniversary(wxString *AnniversaryData, bool *AnniversaryText){
+ if (AnniversaryData->IsEmpty()){
+ return;
+ }
+
if (*AnniversaryText == FALSE){
int DateYear = 0;