Skip to content

Commit

Permalink
Fixed a backwards compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadordf committed Mar 6, 2022
1 parent d18512d commit c48d2d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/uWVFMXWindowParent.pas
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ TWVFMXWindowParent = class(TCommonCustomForm)
procedure SetActive(const Value: Boolean); override;
{$ENDIF}
public
constructor CreateNew(AOwner: TComponent; Dummy: NativeInt = 0); override;
constructor CreateNew(AOwner: TComponent; Dummy: {$IFDEF DELPHI19_UP}NativeInt{$ELSE}Integer{$ENDIF} = 0); override;
procedure Reparent(const aNewParentHandle : {$IFDEF DELPHI18_UP}TWindowHandle{$ELSE}TFmxHandle{$ENDIF});
procedure UpdateSize;

Expand All @@ -55,7 +55,7 @@ implementation
uses
System.SysUtils, FMX.Platform, FMX.Platform.Win;

constructor TWVFMXWindowParent.CreateNew(AOwner: TComponent; Dummy: NativeInt);
constructor TWVFMXWindowParent.CreateNew(AOwner: TComponent; Dummy: {$IFDEF DELPHI19_UP}NativeInt{$ELSE}Integer{$ENDIF});
begin
inherited CreateNew(AOwner, Dummy);

Expand Down
2 changes: 1 addition & 1 deletion update_WebView4Delphi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 43,
"InternalVersion" : 44,
"Name" : "webview4delphi.lpk",
"Version" : "1.0.1108.44"
}
Expand Down

0 comments on commit c48d2d9

Please sign in to comment.