X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorAddress.cpp;h=f74689536ddaa7d4507f35eafe9721fc089cf79b;hb=0e8795282bd50fd769ef89e8d6685c0d922ee403;hp=abd1d1f8f9a9c293dff3f71ef9f7711536772bcc;hpb=da64d37d0a13895554e4ad945c46dd0af6d1c0e6;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorAddress.cpp b/source/contacteditor/frmContactEditorAddress.cpp index abd1d1f..f746895 100644 --- a/source/contacteditor/frmContactEditorAddress.cpp +++ b/source/contacteditor/frmContactEditorAddress.cpp @@ -72,7 +72,10 @@ void frmContactEditorAddress::ProcessData( wxCommandEvent& event ) // 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). @@ -193,7 +196,11 @@ void frmContactEditorAddress::ProcessData( wxCommandEvent& event ) // 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).