mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:59:28 +02:00
LCL, grids: clean up
git-svn-id: trunk@24087 -
This commit is contained in:
parent
b7d83adbf2
commit
e9613684e0
@ -9928,8 +9928,10 @@ begin
|
||||
end;
|
||||
|
||||
function TGridColumns.GetVisibleCount: Integer;
|
||||
{$ifNdef newcols}
|
||||
var
|
||||
i: Integer;
|
||||
{$endif}
|
||||
begin
|
||||
{$ifdef newcols}
|
||||
result := Count;
|
||||
@ -10039,8 +10041,10 @@ begin
|
||||
end;
|
||||
|
||||
function TGridColumns.RealIndex(Index: Integer): Integer;
|
||||
{$ifNdef NewCols}
|
||||
var
|
||||
i: Integer;
|
||||
{$endif}
|
||||
begin
|
||||
{$ifdef NewCols}
|
||||
if Index>Count-1 then
|
||||
|
Loading…
Reference in New Issue
Block a user