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++){
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);
}