You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 90.6.7
Added workaround to avoid a crash when the user clicks the right mouse button in Firemonkey for MacOS. Added the click count to the mouse events to the Linux Firemonkey demo. Added the ShowMessageCF function to show a message dialog in MacOS. Added calls to FMX.Types.Log.d to write error messages in Firemonkey for Linux and MacOS.
This commit is contained in:
@ -56,11 +56,12 @@ interface
|
||||
uses
|
||||
{$IFDEF DELPHI16_UP}
|
||||
{$IFDEF MSWINDOWS}
|
||||
WinApi.Windows, WinApi.ActiveX, {$IFDEF FMX}FMX.Types,{$ENDIF}
|
||||
WinApi.Windows, WinApi.ActiveX,
|
||||
{$ELSE}
|
||||
{$IFDEF MACOSX}Macapi.Foundation, FMX.Helpers.Mac,{$ENDIF}
|
||||
{$ENDIF}
|
||||
System.Types, System.IOUtils, System.Classes, System.SysUtils, System.UITypes, System.Math,
|
||||
{$IFDEF FMX}FMX.Types,{$ENDIF} System.Types, System.IOUtils, System.Classes,
|
||||
System.SysUtils, System.UITypes, System.Math,
|
||||
{$ELSE}
|
||||
{$IFDEF MSWINDOWS}Windows, ActiveX,{$ENDIF}
|
||||
{$IFDEF DELPHI14_UP}Types, IOUtils,{$ENDIF} Classes, SysUtils, Math,
|
||||
@ -947,16 +948,16 @@ begin
|
||||
|
||||
{$IFDEF LINUX}
|
||||
{$IFDEF FPC}
|
||||
// TO-DO: Find a way to write in the error console using Lazarus in Linux
|
||||
// TO-DO: Find a way to write in the error console using Lazarus in Linux
|
||||
{$ELSE}
|
||||
// TO-DO: Find a way to write in the error console using FMXLinux
|
||||
FMX.Types.Log.d(aMessage);
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
{$IFDEF MACOSX}
|
||||
{$IFDEF FPC}
|
||||
// TO-DO: Find a way to write in the error console using Lazarus in MacOS
|
||||
{$ELSE}
|
||||
// TO-DO: Find a way to write in the error console using FMX for MacOS
|
||||
FMX.Types.Log.d(aMessage);
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
|
||||
|
Reference in New Issue
Block a user