&ContactEditorData.BusinessIMListAltID,
&ContactEditorData.BusinessIMListPID,
&ContactEditorData.BusinessIMListType,
+ &ContactEditorData.BusinessIMListTypeInfo,
&ContactEditorData.BusinessIMListTokens,
&ContactEditorData.BusinessIMListMediatype,
&ContactEditorData.BusinessIMListPref,
&ContactEditorData.BusinessIMListAltID,
&ContactEditorData.BusinessIMListPID,
&ContactEditorData.BusinessIMListType,
+ &ContactEditorData.BusinessIMListTypeInfo,
&ContactEditorData.BusinessIMListTokens,
&ContactEditorData.BusinessIMListMediatype,
&ContactEditorData.BusinessIMListPref,
DeleteMapData(intSelectedData, &ContactEditorData.BusinessIMList,
&ContactEditorData.BusinessIMListAltID, &ContactEditorData.BusinessIMListPID,
- &ContactEditorData.BusinessIMListType, &ContactEditorData.BusinessIMListTokens,
- &ContactEditorData.BusinessIMListMediatype, &ContactEditorData.BusinessIMListPref);
+ &ContactEditorData.BusinessIMListType, &ContactEditorData.BusinessIMListTypeInfo,
+ &ContactEditorData.BusinessIMListTokens, &ContactEditorData.BusinessIMListMediatype,
+ &ContactEditorData.BusinessIMListPref);
}
&ContactEditorData.BusinessTelephoneListAltID,
&ContactEditorData.BusinessTelephoneListPID,
&ContactEditorData.BusinessTelephoneListType,
+ &ContactEditorData.BusinessTelephoneListTypeInfo,
&ContactEditorData.BusinessTelephoneListTokens,
&ContactEditorData.BusinessTelephoneListPref,
lboBusinessTelephone,
&ContactEditorData.BusinessTelephoneListAltID,
&ContactEditorData.BusinessTelephoneListPID,
&ContactEditorData.BusinessTelephoneListType,
+ &ContactEditorData.BusinessTelephoneListTypeInfo,
&ContactEditorData.BusinessTelephoneListTokens,
&ContactEditorData.BusinessTelephoneListPref,
lboBusinessTelephone,
DeleteMapData(intSelectedData, &ContactEditorData.BusinessTelephoneList,
&ContactEditorData.BusinessTelephoneListAltID, &ContactEditorData.BusinessTelephoneListPID,
- &ContactEditorData.BusinessTelephoneListType, &ContactEditorData.BusinessTelephoneListTokens,
- &ContactEditorData.BusinessTelephoneListPref);
+ &ContactEditorData.BusinessTelephoneListType, &ContactEditorData.BusinessTelephoneListTypeInfo,
+ &ContactEditorData.BusinessTelephoneListTokens, &ContactEditorData.BusinessTelephoneListPref);
}
&ContactEditorData.HomeIMListAltID,
&ContactEditorData.HomeIMListPID,
&ContactEditorData.HomeIMListType,
+ &ContactEditorData.HomeIMListTypeInfo,
&ContactEditorData.HomeIMListTokens,
&ContactEditorData.HomeIMListMediatype,
&ContactEditorData.HomeIMListPref,
&ContactEditorData.HomeIMListAltID,
&ContactEditorData.HomeIMListPID,
&ContactEditorData.HomeIMListType,
+ &ContactEditorData.HomeIMListTypeInfo,
&ContactEditorData.HomeIMListTokens,
&ContactEditorData.HomeIMListMediatype,
&ContactEditorData.HomeIMListPref,
DeleteMapData(intSelectedData, &ContactEditorData.HomeIMList,
&ContactEditorData.HomeIMListAltID, &ContactEditorData.HomeIMListPID,
- &ContactEditorData.HomeIMListType, &ContactEditorData.HomeIMListTokens,
- &ContactEditorData.HomeIMListMediatype, &ContactEditorData.HomeIMListPref);
+ &ContactEditorData.HomeIMListType, &ContactEditorData.HomeIMListTypeInfo,
+ &ContactEditorData.HomeIMListTokens, &ContactEditorData.HomeIMListMediatype,
+ &ContactEditorData.HomeIMListPref);
}
&ContactEditorData.HomeTelephoneListAltID,
&ContactEditorData.HomeTelephoneListPID,
&ContactEditorData.HomeTelephoneListType,
+ &ContactEditorData.HomeTelephoneListTypeInfo,
&ContactEditorData.HomeTelephoneListTokens,
&ContactEditorData.HomeTelephoneListPref,
lboHomeTelephone,
&ContactEditorData.HomeTelephoneListAltID,
&ContactEditorData.HomeTelephoneListPID,
&ContactEditorData.HomeTelephoneListType,
+ &ContactEditorData.HomeTelephoneListTypeInfo,
&ContactEditorData.HomeTelephoneListTokens,
&ContactEditorData.HomeTelephoneListPref,
lboHomeTelephone,
DeleteMapData(intSelectedData, &ContactEditorData.HomeTelephoneList,
&ContactEditorData.HomeTelephoneListAltID, &ContactEditorData.HomeTelephoneListPID,
- &ContactEditorData.HomeTelephoneListType, &ContactEditorData.HomeTelephoneListTokens,
- &ContactEditorData.HomeTelephoneListPref);
+ &ContactEditorData.HomeTelephoneListType, &ContactEditorData.HomeTelephoneListTypeInfo,
+ &ContactEditorData.HomeTelephoneListTokens, &ContactEditorData.HomeTelephoneListPref);
}
// Get the phone types in.
- striter = TelephoneListTypePtr->find(TelephoneListIndex);
+
+ if (TelephoneListTypeInfoPtr->find(TelephoneListIndex) !=
+ TelephoneListTypeInfoPtr->end()){
+
+ striter = TelephoneListTypeInfoPtr->find(TelephoneListIndex);
- if (striter->first == TelephoneListIndex){
+ if (striter->first == TelephoneListIndex){
- strValue = striter->second;
+ strValue = striter->second;
- }
+ }
+
+ }
wxStringTokenizer TelephonePrefToken (strValue, wxT(","));
std::map<int, wxString> *TelephoneListAltID,
std::map<int, wxString> *TelephoneListPID,
std::map<int, wxString> *TelephoneListType,
+ std::map<int, wxString> *TelephoneListTypeInfo,
std::map<int, wxString> *TelephoneListTokens,
std::map<int, int> *TelephoneListPref,
wxListCtrl *TelephoneListCtrl,
TelephoneListAltIDPtr = TelephoneListAltID;
TelephoneListPIDPtr = TelephoneListPID;
TelephoneListTypePtr = TelephoneListType;
+ TelephoneListTypeInfoPtr = TelephoneListTypeInfo;
TelephoneListTokensPtr = TelephoneListTokens;
TelephoneListPrefPtr = TelephoneListPref;
TelephoneListCtrlPtr = TelephoneListCtrl;
std::map<int, wxString> *TelephoneListAltID,
std::map<int, wxString> *TelephoneListPID,
std::map<int, wxString> *TelephoneListType,
+ std::map<int, wxString> *TelephoneListTypeInfo,
std::map<int, wxString> *TelephoneListTokens,
std::map<int, int> *TelephoneListPref,
wxListCtrl *TelephoneListCtrl,
std::map<int, wxString> *TelephoneListAltIDPtr;
std::map<int, wxString> *TelephoneListPIDPtr;
std::map<int, wxString> *TelephoneListTypePtr;
+ std::map<int, wxString> *TelephoneListTypeInfoPtr;
std::map<int, wxString> *TelephoneListTokensPtr;
std::map<int, int> *TelephoneListPrefPtr;
wxListCtrl *TelephoneListCtrlPtr;