From 6c402161ed9533b943c4af669b08818b2611ea8f Mon Sep 17 00:00:00 2001 From: jesus Date: Thu, 16 Sep 2010 17:02:13 +0000 Subject: [PATCH] =?UTF-8?q?LCL,=20reset=20HotCellPainted=20Flag=20on=20gri?= =?UTF-8?q?d.clear=20to=20fix=20exception=20on=20mouse=20move,=20from=20S?= =?UTF-8?q?=C5=82awomir=20Za=C5=82=C4=99cki,=20issue=20#17426?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: trunk@27387 - --- lcl/grids.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lcl/grids.pas b/lcl/grids.pas index dd766ddd94..3d90118fa6 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -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;