Update lastRow when rows are ctrl-clicked

Originally committed to SVN as r4614.
This commit is contained in:
Thomas Goyne 2010-06-27 04:55:03 +00:00
parent a47080137d
commit 2f80c6b26a

View file

@ -775,6 +775,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
if (click && ctrl && !shift && !alt) { if (click && ctrl && !shift && !alt) {
SelectRow(row,true,!IsInSelection(row,0)); SelectRow(row,true,!IsInSelection(row,0));
parentFrame->UpdateToolbar(); parentFrame->UpdateToolbar();
lastRow = row;
return; return;
} }