X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmMain.cpp;h=35b3d7227cbcef1f39d2e6b9176f6b9c93ab8f3f;hb=3ee149974e5bf642259e0541016216e21ab892b7;hp=a41a6295a2b8691efdfe9338864d8276ad6d2a39;hpb=7bab37a4219b657a5adc432e039075fc61345c61;p=xestiaab%2F.git diff --git a/source/frmMain.cpp b/source/frmMain.cpp index a41a629..35b3d72 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -909,8 +909,6 @@ void frmMain::ShowContactInfo( wxListEvent& event ) long intSelected = -1; long ContactSeekNum = -1; - // intSelected = lstContacts->GetSelection(); - // Check if several contacts have been selected. int ContactTotal = 0; @@ -1032,8 +1030,6 @@ void frmMain::ShowContactInfo( wxListEvent& event ) if (wxSPropertyNextLine.Mid(0, 1) == wxT(" ") || wxSPropertyNextLine.Mid(0, 1) == wxT("\t")){ wxSPropertyNextLine.Remove(0, 1); - //wxSPropertyNextLine.Trim(FALSE); - //ContactLine.Trim(); ContactLine.Append(wxSPropertyNextLine); } else { @@ -1180,9 +1176,7 @@ void frmMain::ShowContactEditorEdit( wxCommandEvent& event ) long intSelected = -1; long intContactSeekNum = -1; - - // intSelected = lstContacts->GetSelection(); - + intSelected = lstContacts->GetNextItem(intSelected, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED); @@ -1349,7 +1343,6 @@ void frmMain::OpenContactInfo( wxCommandEvent& event ) wxString setname, setvalue; vCard Person; wxString nextchar; - //std::fstream vcardfile; Person.LoadFile(uc->ContactFilename);