Some Grid code moved to GridAccount
This commit is contained in:
@@ -225,16 +225,7 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
|
||||
return;
|
||||
}
|
||||
|
||||
for(i=1, it = _operations->begin(); it != _operations->end(); it++, i++)
|
||||
{
|
||||
_grid->InsertOperation(user, &(*it), i, false, 0, 0);
|
||||
}
|
||||
|
||||
_grid->AutoSizeColumn(CATEGORY, false);
|
||||
_grid->AutoSizeColumn(DATE, false);
|
||||
_grid->AutoSizeColumn(ACCOUNT, false);
|
||||
_grid->AutoSizeColumn(DELETE, false);
|
||||
_grid->AutoSizeColumn(CHECKED, false);
|
||||
_grid->LoadOperations(_operations, false, false, 0, 0);
|
||||
|
||||
_wxUI->Layout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user