}
- TelephoneListTypePtr->insert(std::make_pair(TelephoneListIndex, strTelTypes));
+ TelephoneListTypePtr->insert(std::make_pair(TelephoneListIndex, strTelTypes));
+
+ TelephoneListTypeInfoPtr->insert(std::make_pair(TelephoneListIndex, strTelTypes));
// Add Telephone Priority.
TelephoneListTypePtr->erase(TelephoneListIndex);
TelephoneListTypePtr->insert(std::make_pair(TelephoneListIndex, strTelTypes));
+ TelephoneListTypeInfoPtr->erase(TelephoneListIndex);
+ TelephoneListTypeInfoPtr->insert(std::make_pair(TelephoneListIndex, strTelTypes));
+
// Edit the Telephone Priority.
TelephoneListPrefPtr->erase(TelephoneListIndex);
// 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;