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

Fix for issue #462

This commit is contained in:
salvadordf 2023-05-13 16:03:40 +02:00
parent c50d14d881
commit c51eb3c265
2 changed files with 9 additions and 2 deletions

View File

@ -41,6 +41,9 @@ unit CEF4DelphiVCLFMX_Register;
{$I ..\source\cef.inc}
// Disable this DEFINE if your Delphi installation can't find ToolsAPI.pas or designide.dcp
{$DEFINE ADDSPLASHSCREENLOGO}
interface
procedure Register;
@ -48,7 +51,7 @@ procedure Register;
implementation
uses
System.Classes, Winapi.Windows, System.SysUtils, ToolsApi,
System.Classes, Winapi.Windows, System.SysUtils, {$IFDEF ADDSPLASHSCREENLOGO}ToolsApi,{$ENDIF}
uCEFChromium, uCEFWindowParent, uCEFChromiumWindow, uCEFBufferPanel,
uCEFWorkScheduler, uCEFFMXBufferPanel, uCEFFMXChromium, uCEFFMXWorkScheduler,
uCEFServerComponent, uCEFLinkedWindowParent, uCEFUrlRequestClientComponent,
@ -56,6 +59,7 @@ uses
uCEFMenuButtonComponent, uCEFPanelComponent, uCEFTextfieldComponent,
uCEFScrollViewComponent, uCEFWindowComponent;
{$IFDEF ADDSPLASHSCREENLOGO}
procedure AddBitmapToSplashScreen;
const
{$I ..\source\uCEFVersion.inc}
@ -78,6 +82,7 @@ begin
end;
end;
end;
{$ENDIF}
procedure Register;
begin
@ -95,7 +100,9 @@ begin
TCEFTextfieldComponent, TCEFScrollViewComponent,
TCEFWindowComponent]);
{$IFDEF ADDSPLASHSCREENLOGO}
AddBitmapToSplashScreen;
{$ENDIF}
end;
end.

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 484,
"InternalVersion" : 485,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "113.1.4"
}