From 4b521f81a5801245e266f34211679293c3f059a2 Mon Sep 17 00:00:00 2001 From: jesus Date: Fri, 10 Oct 2014 20:33:32 +0000 Subject: [PATCH] LCL, grids, invalidate focused cell/row on killing/gaining focus, patch by Yuichiro Takahashi, issue #25371 git-svn-id: trunk@46507 - --- lcl/grids.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lcl/grids.pas b/lcl/grids.pas index 1effaf4175..d37c072833 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -4553,6 +4553,7 @@ begin end; {$endif} inherited WMKillFocus(Message); + InvalidateFocused; end; procedure TCustomGrid.WMSetFocus(var message: TLMSetFocus); @@ -4569,6 +4570,7 @@ begin end; {$endif} inherited WMSetFocus(Message); + InvalidateFocused; end; class procedure TCustomGrid.WSRegisterClass;