diff --git a/source/uCEFBrowserBitmap.pas b/source/uCEFBrowserBitmap.pas index d1566479..1d983382 100644 --- a/source/uCEFBrowserBitmap.pas +++ b/source/uCEFBrowserBitmap.pas @@ -167,7 +167,12 @@ begin if (Width <> aWidth) or (Height <> aHeight) then begin + {$IFDEF DELPHI16_UP} SetSize(aWidth, aHeight); + {$ELSE} + Width := aWidth; + Height := aHeight; + {$ENDIF} Result := True; end; end; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 2ca84e13..b20210d5 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 464, + "InternalVersion" : 465, "Name" : "cef4delphi_lazarus.lpk", "Version" : "110.0.28" }