You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-12 22:30:17 +02:00
Fix Lazarus build issue in Windows
Fix Delphi build issue in MacOS Added TCefApplicationCore.CheckCEFResources Added TCefApplicationCore.CheckCEFDLL Set TCefApplicationCore.CheckCEFFiles to false by default in MacOS
This commit is contained in:
@ -119,7 +119,7 @@ function TFMXChromium.CreateBrowser(const aWindowName : ustring;
|
||||
var
|
||||
TempHandle : TCefWindowHandle;
|
||||
begin
|
||||
{$IFDEF MACOSX}
|
||||
{$IFDEF MACOS}
|
||||
TempHandle := nil;
|
||||
{$ELSE}
|
||||
TempHandle := 0;
|
||||
@ -128,8 +128,15 @@ begin
|
||||
end;
|
||||
|
||||
procedure TFMXChromium.InitializeDevToolsWindowInfo;
|
||||
var
|
||||
TempHandle : TCefWindowHandle;
|
||||
begin
|
||||
DefaultInitializeDevToolsWindowInfo(0, Rect(0, 0, 0, 0), '');
|
||||
{$IFDEF MACOS}
|
||||
TempHandle := nil;
|
||||
{$ELSE}
|
||||
TempHandle := 0;
|
||||
{$ENDIF}
|
||||
DefaultInitializeDevToolsWindowInfo(TempHandle, Rect(0, 0, 0, 0), '');
|
||||
end;
|
||||
|
||||
procedure TFMXChromium.ShowDevTools(inspectElementAt: TPoint);
|
||||
|
Reference in New Issue
Block a user