// Add the label to the list (maps).
- AddressListLabelPtr->insert(std::make_pair(AddressListIndex, txtLabel->GetValue()));
+ wxString LabelData = txtLabel->GetValue();
+ LabelData.Prepend("\"");
+ LabelData.Append("\"");
+ AddressListLabelPtr->insert(std::make_pair(AddressListIndex, LabelData));
// Add the language to the list (maps).
// Add the label to the list (maps).
AddressListLabelPtr->erase(AddressListIndex);
- AddressListLabelPtr->insert(std::make_pair(AddressListIndex, txtLabel->GetValue()));
+
+ wxString LabelData = txtLabel->GetValue();
+ LabelData.Prepend("\"");
+ LabelData.Append("\"");
+ AddressListLabelPtr->insert(std::make_pair(AddressListIndex, LabelData));
// Add the language to the list (maps).