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:
parent
1520942b36
commit
7020af8f60
@ -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;
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user