LCL, fix compile error when using fpc 2.2.2 after the dbloookup patch

git-svn-id: trunk@19143 -
This commit is contained in:
jesus 2009-03-28 19:31:32 +00:00
parent cad3c62030
commit 2c9b6bd08a

View File

@ -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}