1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-02 21:57:37 +02:00

Fixed build issue in old Delphi versions

This commit is contained in:
salvadordf 2023-02-20 10:26:35 +01:00
parent 1520942b36
commit 7020af8f60
2 changed files with 6 additions and 1 deletions

View File

@ -167,7 +167,12 @@ begin
if (Width <> aWidth) or if (Width <> aWidth) or
(Height <> aHeight) then (Height <> aHeight) then
begin begin
{$IFDEF DELPHI16_UP}
SetSize(aWidth, aHeight); SetSize(aWidth, aHeight);
{$ELSE}
Width := aWidth;
Height := aHeight;
{$ENDIF}
Result := True; Result := True;
end; end;
end; end;

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [ "UpdateLazPackages" : [
{ {
"ForceNotify" : true, "ForceNotify" : true,
"InternalVersion" : 464, "InternalVersion" : 465,
"Name" : "cef4delphi_lazarus.lpk", "Name" : "cef4delphi_lazarus.lpk",
"Version" : "110.0.28" "Version" : "110.0.28"
} }