From 53f21809d18280bb438e14f2f918927c9e433bd2 Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Fri, 20 Oct 2023 18:10:00 +0300 Subject: [PATCH] Revert "LCL: Do not Invalidate a CustomGrid in every MouseUp. Merge request !66 by Petr Kristan." This reverts commit 7f6c15e911bb932d4fbf063c83c40d8f2c755103. It caused an incompatibility for subclassed DrawGrids, issue #40550. --- lcl/grids.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lcl/grids.pas b/lcl/grids.pas index 6ca5083d09..b035e33446 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -7187,6 +7187,8 @@ begin if FMoveLast.X>=0 then InvalidateRow(0); if FMoveLast.Y>=0 then InvalidateCol(0); end; + {$else} + Invalidate; {$endif} if not (fGridState in [gsColMoving,gsRowMoving]) then RestoreCursor;