Add some verification to SearchPanel & wxID_ANY in place of -1

This commit is contained in:
2010-07-14 18:56:07 +02:00
parent d248b848b4
commit 5286926588
9 changed files with 96 additions and 60 deletions

View File

@@ -117,7 +117,7 @@ AccountPanel::AccountPanel(KissCount* kiss, wxUI *parent) : wxScrolledWindow(&(*
_accountsGrid->AutoSizeColumns(true);
_statsGrid = new wxGrid(this, -1);
_statsGrid = new wxGrid(this, wxID_ANY);
chart = new wxChartPanel(this);
chart->SetChart(new Chart(_pie, _("Cost repartition")));