LCL, reset HotCellPainted Flag on grid.clear to fix exception on mouse move, from Sławomir Załęcki, issue #17426

git-svn-id: trunk@27387 -
This commit is contained in:
jesus 2010-09-16 17:02:13 +00:00
parent 0d632cce9c
commit 6c402161ed

View File

@ -8114,7 +8114,8 @@ begin
FRange:=Rect(-1,-1,-1,-1);
FGCache.TLColOff := 0;
FGCache.TlRowOff := 0;
FGCache.HotCell := Point(-1, -1);
FGCache.HotCellPainted := false;
ResetHotCell;
VisualChange;
SizeChanged(OldR,OldC);
end;