vCard Person;
vCardFilenameFull.Append(AccountDirFinal);
- vCardFilenameFull.Append(wxT("/"));
vCardFilenameFull.Append(vCardFilename);
Person.LoadFile(vCardFilenameFull);
// If they match then select it.
if (ContactsFileIndex[intSelectedData] == uc->ContactFilename){
-
+
// Select.
lstContacts->SetItemState(longSelected, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
lstContacts->EnsureVisible(longSelected);
- break;
-
- }
+ } else {
+
+ lstContacts->SetItemState(longSelected, 0, wxLIST_STATE_SELECTED);
+
+ }
}