From 9492d632a61167505d24453c3c746ba730c2995d Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 9 Mar 2016 22:27:38 +0000 Subject: [PATCH] Removed commented out code in frmPreferences --- source/frmPreferences.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/source/frmPreferences.cpp b/source/frmPreferences.cpp index 716fc7a..b12e712 100644 --- a/source/frmPreferences.cpp +++ b/source/frmPreferences.cpp @@ -329,21 +329,6 @@ void frmPreferences::ReloadAccounts(){ accountscol2.SetWidth(96); lstAccounts->InsertColumn(2,accountscol2); - /*accountscol1.SetId(1); - accountscol1.SetText(_("")); - accountscol1.SetWidth(32); - lstAccounts->InsertColumn(1,accountscol1); - - accountscol2.SetId(2); - accountscol2.SetText(_("Name")); - accountscol2.SetWidth(224); - lstAccounts->InsertColumn(2,accountscol2); - - accountscol3.SetId(3); - accountscol3.SetText(_("Type")); - accountscol3.SetWidth(96); - lstAccounts->InsertColumn(3,accountscol3);*/ - wxString AccType; for (int i = 0; i < preferences->accounts.GetCount() ; i++){ @@ -360,18 +345,11 @@ void frmPreferences::ReloadAccounts(){ col0.SetImage(AccountID); } - - //col0.SetText( wxString::Format(wxT("%i"),i) ); - //col0.SetText(preferences.accounts.GetAccountName(i)); long itemindex = lstAccounts->InsertItem( col0 ); - //AccType = preferences.accounts.GetAccountType(i); - //AccType.Trim(); - lstAccounts->SetItem(itemindex, 1, preferences->accounts.GetAccountName(i)); lstAccounts->SetItem(itemindex, 2, preferences->accounts.GetAccountType(i)); - //lstAccounts->SetItem(itemindex, 3, AccType); } -- 2.39.5