mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 15:49:33 +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;
|
end;
|
||||||
|
|
||||||
function TGridColumns.GetVisibleCount: Integer;
|
function TGridColumns.GetVisibleCount: Integer;
|
||||||
|
{$ifNdef newcols}
|
||||||
var
|
var
|
||||||
i: Integer;
|
i: Integer;
|
||||||
|
{$endif}
|
||||||
begin
|
begin
|
||||||
{$ifdef newcols}
|
{$ifdef newcols}
|
||||||
result := Count;
|
result := Count;
|
||||||
@ -10039,8 +10041,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TGridColumns.RealIndex(Index: Integer): Integer;
|
function TGridColumns.RealIndex(Index: Integer): Integer;
|
||||||
|
{$ifNdef NewCols}
|
||||||
var
|
var
|
||||||
i: Integer;
|
i: Integer;
|
||||||
|
{$endif}
|
||||||
begin
|
begin
|
||||||
{$ifdef NewCols}
|
{$ifdef NewCols}
|
||||||
if Index>Count-1 then
|
if Index>Count-1 then
|
||||||
|
Loading…
Reference in New Issue
Block a user