FIX: Bug []0001857] Infinite loop caused by TCustomGrid (update Lazarus version)

This commit is contained in:
Alexander Koblov 2017-12-11 16:08:37 +00:00
commit ac5846ed68
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ type
procedure SetGridVertLine(const AValue: Boolean);
protected
{$IF lcl_fullversion < 1090000}
{$IF lcl_fullversion < 1080003}
function SelectCell(aCol, aRow: Integer): Boolean; override;
{$ENDIF}
procedure KeyDown(var Key: Word; Shift: TShiftState); override;
@ -1986,7 +1986,7 @@ begin
Options := Options - [goVertLine];
end;
{$IF lcl_fullversion < 1090000}
{$IF lcl_fullversion < 1080003}
// Workaround for Lazarus issue 31942.
function TDrawGridEx.SelectCell(aCol, aRow: Integer): Boolean;
begin

View file

@ -19,7 +19,7 @@ type
protected
FFileView: TFileViewWithGrid;
protected
{$IF lcl_fullversion < 1090000}
{$IF lcl_fullversion < 1080003}
function SelectCell(aCol, aRow: Integer): Boolean; override;
{$ENDIF}
procedure RowHeightsChanged; override;
@ -186,7 +186,7 @@ begin
inherited KeyDown(Key, Shift);
end;
{$IF lcl_fullversion < 1090000}
{$IF lcl_fullversion < 1080003}
// Workaround for Lazarus issue 31942.
function TFileViewGrid.SelectCell(aCol, aRow: Integer): Boolean;
begin