AddressListTypePtr->insert(std::make_pair(AddressListIndex, wxT("work")));
}
-
- //AddressListTypePtr = &AddressListType;
-
+
// Add the mediatype to the list (maps).
AddressListMediatypePtr->insert(std::make_pair(AddressListIndex, wxT("text/plain")));
- //AddressListMediatypePtr = &AddressListMediatype;
- //AddressListPrefPtr = &AddressListPref;
-
if (chkUsePref->IsChecked()){
AddressListPrefPtr->insert(std::make_pair(AddressListIndex, sliPriority->GetValue()));
wxString strValue;
long longSelected = -1;
- /*
- strAddress.Append(wxT(";;"));
-
- strAddress.Append(txtAddress->GetValue());
- strAddress.Append(wxT(";"));
-
- strAddress.Append(txtTownCity->GetValue());
- strAddress.Append(wxT(";"));
-
- strAddress.Append(txtCounty->GetValue());
- strAddress.Append(wxT(";"));
-
- strAddress.Append(txtPostCode->GetValue());
- strAddress.Append(wxT(";"));
-
- strAddress.Append(txtCountry->GetValue());
- */
-
AddressListPtr->erase(AddressListIndex);
AddressListPtr->insert(std::make_pair(AddressListIndex, txtAddress->GetValue()));
AddressListCountryPtr->erase(AddressListIndex);
AddressListCountryPtr->insert(std::make_pair(AddressListIndex, txtCountry->GetValue()));
- //AddressListLabelPtr = &AddressListLabel;
-
// Add the label to the list (maps).
AddressListLabelPtr->erase(AddressListIndex);
// Add the language to the list (maps).
- //AddressListLangPtr = &AddressListLang;
-
AddressListLangPtr->erase(AddressListIndex);
AddressListLangPtr->insert(std::make_pair(AddressListIndex, cmbLanguage->GetValue()));
AddressListTimezonePtr->erase(AddressListIndex);
AddressListTimezonePtr->insert(std::make_pair(AddressListIndex, txtTimezone->GetValue()));
-
- // No need to update type since it will not have changed.
-
- //AddressListTypePtr = &AddressListType;
// Add the mediatype to the list (maps).
AddressListMediatypePtr->erase(AddressListIndex);
AddressListMediatypePtr->insert(std::make_pair(AddressListIndex, wxT("text/plain")));
- //AddressListMediatypePtr = &AddressListMediatype;
- //AddressListPrefPtr = &AddressListPref;
-
AddressListPrefPtr->erase(AddressListIndex);
if (chkUsePref->IsChecked()){
}
- //CaptureString(&strValue, TRUE);
- //->Replace(wxT("\;"), wxT("\;;"), TRUE);
-
// Setup the Slider.
intiter = AddressListPrefPtr->find(AddressListIndex);