mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:56:03 +02:00
LCL, fix compile error when using fpc 2.2.2 after the dbloookup patch
git-svn-id: trunk@19143 -
This commit is contained in:
parent
cad3c62030
commit
2c9b6bd08a
@ -58,6 +58,10 @@ fields:
|
||||
|
||||
}
|
||||
|
||||
{$IF (FPC_VERSION = 2) AND (FPC_RELEASE = 2) AND (FPC_PATCH <= 2)}
|
||||
{$DEFINE HAS_NOT_FIRSTKEYBYVALUE}
|
||||
{$ENDIF}
|
||||
|
||||
constructor TDBLookup.Create(AOwner: TComponent);
|
||||
begin
|
||||
inherited;
|
||||
@ -280,6 +284,10 @@ begin
|
||||
end;
|
||||
|
||||
procedure TDBLookup.UpdateData(const AListFieldValue: string);
|
||||
{$IFDEF HAS_NOT_FIRSTKEYBYVALUE}
|
||||
begin
|
||||
end;
|
||||
{$ELSE}
|
||||
var
|
||||
I: Integer;
|
||||
TmpActive: Boolean;
|
||||
@ -323,3 +331,4 @@ begin
|
||||
FListLink.DataSet.Active := False;
|
||||
end;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user