&ContactEditorData.GeneralIMListAltID,
&ContactEditorData.GeneralIMListPID,
&ContactEditorData.GeneralIMListType,
+ &ContactEditorData.GeneralIMListTypeInfo,
&ContactEditorData.GeneralIMListTokens,
&ContactEditorData.GeneralIMListMediatype,
&ContactEditorData.GeneralIMListPref,
&intSelectedData)){
return;
}
-
+
frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
frameCEIM->SetupPointers(&ContactEditorData.GeneralIMList,
&ContactEditorData.GeneralIMListAltID,
&ContactEditorData.GeneralIMListPID,
&ContactEditorData.GeneralIMListType,
+ &ContactEditorData.GeneralIMListTypeInfo,
&ContactEditorData.GeneralIMListTokens,
&ContactEditorData.GeneralIMListMediatype,
&ContactEditorData.GeneralIMListPref,
DeleteMapData(intSelectedData, &ContactEditorData.GeneralIMList,
&ContactEditorData.GeneralIMListAltID, &ContactEditorData.GeneralIMListPID,
- &ContactEditorData.GeneralIMListType, &ContactEditorData.GeneralIMListTokens,
- &ContactEditorData.GeneralIMListMediatype, &ContactEditorData.GeneralIMListPref);
+ &ContactEditorData.GeneralIMListType, &ContactEditorData.GeneralIMListTypeInfo,
+ &ContactEditorData.GeneralIMListTokens, &ContactEditorData.GeneralIMListMediatype,
+ &ContactEditorData.GeneralIMListPref);
}
&ContactEditorData.GeneralTelephoneListAltID,
&ContactEditorData.GeneralTelephoneListPID,
&ContactEditorData.GeneralTelephoneListType,
+ &ContactEditorData.GeneralTelephoneListTypeInfo,
&ContactEditorData.GeneralTelephoneListTokens,
&ContactEditorData.GeneralTelephoneListPref,
lboTelephone,
&ContactEditorData.GeneralTelephoneListAltID,
&ContactEditorData.GeneralTelephoneListPID,
&ContactEditorData.GeneralTelephoneListType,
+ &ContactEditorData.GeneralTelephoneListTypeInfo,
&ContactEditorData.GeneralTelephoneListTokens,
&ContactEditorData.GeneralTelephoneListPref,
lboTelephone,
DeleteMapData(intSelectedData, &ContactEditorData.GeneralTelephoneList,
&ContactEditorData.GeneralTelephoneListAltID, &ContactEditorData.GeneralTelephoneListPID,
- &ContactEditorData.GeneralTelephoneListType, &ContactEditorData.GeneralTelephoneListTokens,
- &ContactEditorData.GeneralTelephoneListPref);
+ &ContactEditorData.GeneralTelephoneListType, &ContactEditorData.GeneralTelephoneListTypeInfo,
+ &ContactEditorData.GeneralTelephoneListTokens, &ContactEditorData.GeneralTelephoneListPref);
}
// 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);
std::map<int, wxString> *IMListAltID,
std::map<int, wxString> *IMListPID,
std::map<int, wxString> *IMListType,
+ std::map<int, wxString> *IMListTypeInfo,
std::map<int, wxString> *IMListTokens,
std::map<int, wxString> *IMListMediatype,
std::map<int, int> *IMListPref,
std::map<int, wxString> *IMListAltIDPtr;
std::map<int, wxString> *IMListPIDPtr;
std::map<int, wxString> *IMListTypePtr;
+ std::map<int, wxString> *IMListTypeInfoPtr;
std::map<int, wxString> *IMListTokensPtr;
std::map<int, wxString> *IMListMediatypePtr;
std::map<int, int> *IMListPrefPtr;
wxListCtrl *IMListCtrlPtr;
- int IMListIndex;
+ int IMListIndex = 0;
SectionType EditSectionType;
};