1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Fixed TChromium.DownloadBubble issue

Define LCL_FULLVERSION  in Delphi to avoid compiler warnings
This commit is contained in:
Salvador Díaz Fau
2024-06-12 10:45:27 +02:00
parent 110fefdfb5
commit 0ada3d1ba9
3 changed files with 11 additions and 2 deletions

View File

@ -21,6 +21,12 @@ uses
{$ENDIF}
uCEFLinuxTypes, uCEFTypes;
{$IFNDEF FPC}
const
// We define this constant only to avoid warnings in Delphi
LCL_FULLVERSION = 3000001;
{$ENDIF}
{$IFDEF LINUX}
procedure GdkEventKeyToCEFKeyEvent(GdkEvent: PGdkEventKey; var aCEFKeyEvent : TCEFKeyEvent);
function KeyboardCodeFromXKeysym(keysym : uint32) : integer;