mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 21:40:34 +02:00
grids, fixed note under gtk about invalidaterect during paint message
git-svn-id: trunk@14224 -
This commit is contained in:
parent
c68ac42c85
commit
7e38efc3cf
@ -3358,7 +3358,8 @@ begin
|
||||
R.BottomRight:= FGCache.MaxClientXY;
|
||||
if FGcache.MaxClientXY.X<FGCache.ClientWidth then
|
||||
R.BottomRight.x := FGCache.ClientWidth;
|
||||
InvalidateRect(Handle, @R, false);
|
||||
if not (csCustomPaint in ControlState) then
|
||||
InvalidateRect(Handle, @R, false);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -3439,7 +3440,8 @@ begin
|
||||
R.BottomRight:=FGCache.MaxClientXY;
|
||||
if FGcache.MaxClientXY.Y<FGCache.ClientHeight then
|
||||
R.BottomRight.y := FGCache.ClientHeight;
|
||||
InvalidateRect(Handle, @R, false);
|
||||
if not (csCustomPaint in ControlState) then
|
||||
InvalidateRect(Handle, @R, false);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user