*CtrlLib: ArrayCtrl fixed issue with VirtualCount vs Selections

git-svn-id: svn://ultimatepp.org/upp/trunk@2322 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-04-15 07:12:49 +00:00
parent 2b505d3827
commit 6dd67b67dc
2 changed files with 2 additions and 2 deletions

View file

@ -1324,7 +1324,7 @@ int ArrayCtrl::GetSelectCount() const
void ArrayCtrl::Select(int i, bool sel)
{
array[i].select = sel;
array.At(i).select = sel;
selectiondirty = true;
RefreshRow(i);
WhenSelection();