Commit Graph

711 Commits

Author SHA1 Message Date
salvadordf
f1dece78f0 Update to CEF 103.0.10 2022-07-14 20:05:13 +02:00
salvadordf
0e7384be88 Update to CEF 103.0.9 2022-07-06 21:48:45 +02:00
salvadordf
df02ea3bcf Update to CEF 103.0.8 2022-06-30 15:29:46 +02:00
salvadordf
6b075ef740 Added GlobalCEFApp.TreatInsecureOriginAsSecure 2022-06-30 09:03:56 +02:00
salvadordf
63d5156cec Improved functions to read the screen scale in FMX
Fixed FMXExternalPumpBrowser2 initialization issue in Linux
2022-06-26 17:53:54 +02:00
salvadordf
7f3e3415ef Added partial GTK3 support
Converted the OSRExternalPumpBrowser demo to GTK3
Converted the TinyBrowser demo to GTK3
Converted the TinyBrowser2 demo to GTK3
Moved all Lazarus demos for Linux to the Lazarus_Linux_GTK2 directory
Fixed the Copy.CEF.DLLs tool thanks to fraurino
2022-06-25 16:41:34 +02:00
salvadordf
09d8ec8669 Update to CEF 102.0.10 2022-06-15 20:00:00 +02:00
salvadordf
65aa181694 Added an experimental TCEFLinuxEventPipe class for Linux in Lazarus 2022-06-14 15:22:50 +02:00
salvadordf
67d3e5e528 Added more time handling functions 2022-06-14 11:27:45 +02:00
salvadordf
983ed5d1d2 Update to CEF 102.0.9
Added the fix for the resize issue #402 in macOS made by uniho
2022-05-28 17:56:06 +02:00
salvadordf
5bbddf099c Update to CEF 102.0.8 2022-05-26 13:08:20 +02:00
salvadordf
959d152d9c Workaround for issue #416
Possible fix for issue #416 : JSRTTIExtension and CustomTitleBar demos crash in CEF 101
2022-05-15 18:57:43 +02:00
salvadordf
2def5dd432 Update to CEF 101.0.18 2022-05-14 16:19:21 +02:00
salvadordf
3bca41ef4a Update to CEF 101.0.15 2022-05-03 12:43:16 +02:00
salvadordf
455a75c849 Fixed issue #415 : TChromiumCore.Initialized remains False in some popup windows
Added the TabbedOSRBrowser demo
2022-04-30 19:01:45 +02:00
salvadordf
57364ec1b9 Fix for issue #414 : Error Building on XE2 2022-04-26 12:14:05 +02:00
salvadordf
63bd707553 Partial fix for issue #413 Chinese IME bug in OSR 2022-04-23 16:49:11 +02:00
salvadordf
b94d03b678 Update to CEF 100.0.24 2022-04-21 14:25:18 +02:00
salvadordf
6860461898 Update to CEF 100.0.23 2022-04-16 12:10:27 +02:00
salvadordf
370766e359 Update to CEF 100.0.17 2022-04-13 15:50:04 +02:00
salvadordf
d4f7a9a3aa Update to CEF 100.0.14 2022-04-06 12:13:07 +02:00
salvadordf
432de846e1 Update to CEF 99.2.15
Updated projects to Delphi 11.1
2022-04-01 17:10:45 +02:00
salvadordf
c4d14223a0 Expose GlobalCEFApp.CheckCEFLibrary
Set TCefApplicationCore.CheckCEFResources as virtual
Set TCefApplicationCore.CheckCEFDLL as virtual
2022-03-31 21:21:18 +02:00
salvadordf
fd331e266c Update to CEF 99.2.14
Added the MobileBrowser demo
2022-03-30 16:48:20 +02:00
salvadordf
1700eedac7 Fixed TCefMainArgs declaration for MacOS and Linux
Fixed TCEFArgCopy for the updated TCefMainArgs declaration.
Use TCEFArgCopy for Linux targets in all IDEs
2022-03-26 20:05:29 +01:00
salvadordf
0062f1f580 Update to CEF 99.2.13 2022-03-22 12:05:00 +01:00
salvadordf
b981543f63 Update to CEF 99.2.12 2022-03-17 10:16:17 +01:00
salvadordf
f74208f4a8 Fixed backwards compatibility issue in FMX 2022-03-16 21:39:12 +01:00
salvadordf
d8c4d8a128 Update to CEF 99.2.11 2022-03-16 10:39:28 +01:00
salvadordf
5e7db15734 Update to CEF 99.2.10 2022-03-10 14:38:53 +01:00
salvadordf
d141f5d751 Fixed backwards compatibility issues
Fixed issue #409
2022-03-06 10:21:37 +01:00
salvadordf
d0838e2438 Update to CEF 99.2.9
Added a certificate selection form to the MiniBrowser VCL demo
2022-03-05 13:17:34 +01:00
salvadordf
951c583ddd Update to CEF 99.2.7 2022-03-03 11:16:30 +01:00
salvadordf
acd6deb308 Update to CEF 98.2.1
Added the source directory to all the search paths
Replaced packages with a DPK file for old Delphi versions and a group for newer Delphi versions.
Updated all include files
2022-02-26 14:29:41 +01:00
salvadordf
b76bc452aa Fixed build issues in ARM CPUs with a 64 bits target
Possible fix for issue #406
2022-02-25 16:02:59 +01:00
salvadordf
03f9e9a1b9 Update to CEF 98.2.0
Fixed issue #404 : Memory leak with empty TChromiumDefaultUrl
Fixed crash in RasperryPi OS 64 bits
2022-02-19 18:56:41 +01:00
salvadordf
7a69cd0c42 Linux : Renamed GlobalCEFApp properties to avoid a crash 2022-02-17 10:46:20 +01:00
salvadordf
4d5f3e0d2d Update to CEF 98.1.21 2022-02-16 12:24:09 +01:00
salvadordf
6176fd8585 Update to CEF 98.1.19 2022-02-14 21:57:27 +01:00
salvadordf
ef8d9e02c1 Updated error constants 2022-02-06 16:32:28 +01:00
salvadordf
cf8ec9aae5 Update to CEF 98.1.16 2022-02-05 16:50:09 +01:00
salvadordf
d93927b5c8 Update to CEF 97.1.9 2022-01-29 14:18:55 +01:00
salvadordf
782656d531 Update to CEF 97.1.7 2022-01-25 19:11:54 +01:00
salvadordf
2c68a0b6b6 Update to CEF 97.1.6 2022-01-21 14:58:16 +01:00
salvadordf
f6f2539d52 Update to CEF 97.1.5
Fixed issue #401 : Error compiling "uCEFMiscFunctions.pas" for Lazarus on macOS Big Sur
2022-01-15 13:04:21 +01:00
salvadordf
127b062909 Update to CEF 97.1.2
Enable the "Chrome runtime" mode in the TinyBrowser2 demos
2022-01-11 11:49:38 +01:00
salvadordf
2ef6568a3f Update to CEF 97.1.1 2022-01-07 19:18:18 +01:00
salvadordf
29c04d2221 Updated copyright year
Fixed the project version in the Lazarus LPK file
2022-01-01 10:41:21 +01:00
salvadordf
d16c7de620 Fixed build issue in Linux and MacOS 2021-12-23 19:10:47 +01:00
salvadordf
6030a82644 Fixed missing DELPHI28_UP define for unknown Delphi versions 2021-12-23 18:44:15 +01:00
salvadordf
a5e1106faf Update to CEF 96.0.18
Added extra compiler versions to the Delphinus.Install.json file
2021-12-16 12:04:17 +01:00
salvadordf
e0e99c26eb Detect the "crashpad-handler" subprocess
Set the same SetProcessShutdownParameters parameter value as Chromium in the crashpad handler process.
2021-12-11 11:43:58 +01:00
salvadordf
6393b6f480 Update to CEF 96.0.17
Call SetProcessShutdownParameters with the same parameter values as Chromium does.
Fixed some backwards compatibility issues
2021-12-08 17:45:03 +01:00
salvadordf
25edba76e8 Added TCEFFileDialogInfo
MiniBrowser now uses TCEFFileDialogInfo to show custom open and save dialogs.
2021-11-28 20:16:49 +01:00
salvadordf
8b9a2871e2 Update to CEF 96.0.16
Added GlobalCEFApp.AllowInsecureLocalhost
Added GlobalCEFApp.KioskPrinting
2021-11-25 11:16:38 +01:00
salvadordf
fef34ac1e9 Update to CEF 96.0.14 2021-11-20 12:58:33 +01:00
salvadordf
ac12c7b83e Update to CEF 95.7.18 2021-11-20 12:37:17 +01:00
salvadordf
c76eb00745 Update to CEF 95.7.17 2021-11-09 15:00:17 +01:00
salvadordf
34a4d9e859 Update to CEF 95.7.14 2021-10-30 11:59:40 +02:00
salvadordf
e3cee7cf9b Changed some Windows API imports to improve compatibility with C++ Builder 2021-10-27 12:18:33 +02:00
salvadordf
f9b7447094 Update to CEF 95.7.12
Fix for Windows shutdown issue thanks to petko
2021-10-26 10:29:58 +02:00
salvadordf
9b90babbcb Update to CEF 95.7.10
Added TChromiumCore.OnPrefsUpdated. See issue #390
2021-10-22 19:19:57 +02:00
salvadordf
649d0c65d6 Update to CEF 94.4.11 2021-10-21 10:04:54 +02:00
salvadordf
9e2b7ee65d Update to CEF 94.4.10 2021-10-19 09:28:29 +02:00
salvadordf
33309917bc Update to CEF 94.4.9 2021-10-06 13:04:04 +02:00
salvadordf
dde1340250 Update to CEF 94.4.8 2021-10-05 11:45:21 +02:00
salvadordf
89a1bfada0 Update to CEF 94.4.5 2021-10-04 20:09:01 +02:00
salvadordf
a43cd0f84c Update to CEF 94.4.4 2021-10-02 16:22:10 +02:00
salvadordf
0bc8f373f8 Update to CEF 94.4.2
Fixed issues #383 and #384
2021-09-28 16:39:21 +02:00
salvadordf
c88ec15bd4 Update to CEF 94.4.1
Added the keyboard handling modification to the OSRExternalPumpBrowser demo requested by mterrisse in issue #378
Fixed the wrong form icon in TinyBrowser demo.
2021-09-27 12:04:33 +02:00
salvadordf
5f1f820c07 Fixed initialization issue in "ChromeRuntime" mode 2021-09-18 11:00:57 +02:00
salvadordf
155e298f3e Update to CEF 93.1.14 2021-09-17 17:12:06 +02:00
Salvador Díaz Fau
a14c51f98b Added Delphi 11 Alexandria support 2021-09-14 12:45:14 +02:00
Salvador Díaz Fau
5602e1029d Moved CefClearSchemeHandlerFactories to the GlobalCEFApp destruction 2021-09-11 12:00:09 +02:00
Salvador Díaz Fau
83a75c985a Update to CEF 93.1.11
Fixed issue #378  in the VCL demos
2021-09-05 10:49:20 +02:00
Salvador Díaz Fau
b3f388709a Update to CEF 92.0.27
Fixed issue #374 : TChromium.SaveAsBitmapStream Fails
2021-08-19 14:20:01 +02:00
Salvador Díaz Fau
701406f0e8 Update to CEF 92.0.26
Added the SchemeRegistrationBrowser_subprocess demo for Lazarus in Windows
Added a Google Maps example in the test.html file used by all the SchemeRegistrationBrowser demos.
Removed obsolete Flash file.
2021-08-18 15:55:54 +02:00
Salvador Díaz Fau
5347d34205 Update to CEF 92.0.25 2021-08-07 11:18:36 +02:00
Salvador Díaz Fau
c4135dedd5 Update to CEF 92.0.21
Added GlobalCEFApp.DisablePopupBlocking
Added GlobalCEFApp.DisableBackForwardCache
Fixed issue #372
TCefApplicationCore code reorganization
2021-07-31 17:24:54 +02:00
Salvador Díaz Fau
8d789edbdf Update to CEF 92.0.20 2021-07-29 16:20:34 +02:00
Salvador Díaz Fau
8bfcf813e2 Update to CEF 91.1.23 2021-07-20 12:54:20 +02:00
Salvador Díaz Fau
d42098da83 Update to CEF 91.1.22 2021-07-03 09:59:24 +02:00
Salvador Díaz Fau
e72bbfd46e Improved functions to get the screen scale and DPI values in all platforms 2021-06-24 17:47:22 +02:00
Salvador Díaz Fau
b0259524c5 Update to CEF 91.1.21
The TabbedBrowser2 demo for Windows can now open new tabs without losing the POST data.
2021-06-20 13:08:37 +02:00
Salvador Díaz Fau
371c056192 Update to CEF 91.1.20 2021-06-18 17:49:36 +02:00
Salvador Díaz Fau
c5b989588e Update to CEF 91.1.17
Remove unnecessary workarounds in the FMX demo for MacOS
2021-06-16 10:31:12 +02:00
Salvador Díaz Fau
b5d3daf8bc Update to CEF 91.1.16 2021-06-12 11:19:56 +02:00
Salvador Díaz Fau
a69df608f6 Update to CEF 91.1.12 2021-06-11 17:26:30 +02:00
Salvador Díaz Fau
43ab8ef953 Added TCEFTimerWorkScheduler
- Moved the GlobalCEFWorkScheduler creation after the GlobalCEFApp creation in all demos using it.
- Replaced TCEFWorkScheduler by TCEFTimerWorkScheduler in FMX demos for Linux and MacOS.
- Fixed context menu issue in FMXExternalPumpBrowser2 for Linux
- Fixed stability issues in FMXExternalPumpBrowser for MacOS
- Fixed 32bit build issues in TinyBrowser and ToolBoxBrowser2 demos.
- Added uCEFMacOSInterfaces and uCEFMacOSCustomCocoaTimer.
2021-06-04 15:10:40 +02:00
Salvador Díaz Fau
b14abde967 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.
2021-05-27 14:29:30 +02:00
Salvador Díaz Fau
44896524e8 Improved keyboard and mouse support in FMXExternalPumpBrowser for MacOS
Added X11 error handling functions to FMXExternalPumpBrowser2 demo for Linux.
Deleted FMXExternalPumpBrowser demo for Linux.
Added uCEFMacOSConstants and uCEFMacOSFunctions units for MacOS.
Replaced TThread.Queue for TThread.ForceQueue to avoid executing that method immediately in some cases.
2021-05-26 19:32:10 +02:00
Salvador Díaz Fau
96cec7acb5 Update to CEF 90.6.6 2021-05-21 15:39:53 +02:00
Salvador Díaz Fau
fec1b3be79 Fixed colors in FMXExternalPumpBrowser for MacOS
Added functions to copy the CEF binaries and the CEF helpers automatically to FMXExternalPumpBrowser for MacOS
Added TFMXBufferPanel.OnResized
Added more comments with missing functionality in Linux and MacOS
2021-05-18 16:40:37 +02:00
Salvador Díaz Fau
76fc979882 Fixed UTF8 string conversion in FPC 2021-05-17 10:10:00 +02:00
Salvador Díaz Fau
28ed9e7794 Added FMXExternalPumpBrowser demo for MacOS
Added TinyBrowser demo for Linux.
Added AppHelperRenamer tool for MacOS.
Disabled 3 event in TCefViewDelegateRef in 32 bits as a workaround for the issue #278
2021-05-16 19:42:25 +02:00
Salvador Díaz Fau
ca1e47d947 Update to CEF 90.6.5 2021-05-06 14:32:42 +02:00
Salvador Díaz Fau
ff05abbe1b Update to CEF 90.6.4
Added try..except blocks to TCustomRequestContextHandler and TCustomResourceRequestHandler events.
2021-05-05 14:41:13 +02:00
Salvador Díaz Fau
d24eec2794 Update to CEF 90.6.3
Enabled the ChromeRuntime mode to the TinyBrowser2 demo for Lazarus in Windows.
2021-05-01 10:06:25 +02:00
Salvador Díaz Fau
8188dd2ca0 Update to CEF 90.6.2 2021-04-29 17:00:54 +02:00
Salvador Díaz Fau
f044e754fa Update to CEF 90.6.0 2021-04-28 14:38:07 +02:00
Salvador Díaz Fau
23ee5819d6 Update to CEF 90.5.9 2021-04-24 12:10:58 +02:00
Salvador Díaz Fau
edbfe8775b Update to CEF 90.5.7
Modified the VCL version of the TinyBrowser2 demo to use the experimental "ChromeRuntime" mode.
2021-04-23 14:52:53 +02:00
Salvador Díaz Fau
64edef3194 Update to CEF 90.5.5 2021-04-21 15:09:14 +02:00
Salvador Díaz Fau
1c898a6d50 Removed GlobalCEFApp.OnGetCookieableSchemes because it's no longer used 2021-04-20 18:30:52 +02:00
Salvador Díaz Fau
dbd73f13b4 Removed the GlobalCEFApp.SupportedSchemes property because it's no longer used. 2021-04-20 15:09:28 +02:00
Salvador Díaz Fau
c5fae76a1f Update to CEF 90.5.4 2021-04-18 19:36:20 +02:00
Salvador Díaz Fau
8d8d498b0f Update to CEF 89.0.18 2021-04-07 16:35:31 +02:00
Salvador Díaz Fau
c6e8a08522 Update to CEF 89.0.17
Added an option make simple text replacements in the ResponseFilterBrowser demo
2021-04-03 14:53:50 +02:00
Salvador Díaz Fau
19831611d4 Update to CEF 89.0.15
Added TCefApplicationCore.LastErrorMessage property as requested in #356
2021-03-25 13:00:37 +01:00
martin
eb03146bb2 Merged LazApplication int CefApplication (IFDEF) 2021-03-21 02:27:03 +01:00
martin
74f4caf000 Fix TEmbeddedChromium as sub-component 2021-03-21 00:12:15 +01:00
martin
eec00d7da7 Rename Components 2021-03-20 21:06:46 +01:00
Salvador Díaz Fau
0abb2732de Update to CEF 89.0.12
Modified the VCL SubProcess demo as suggested by Tomm Prami
Fixed issue #352
2021-03-20 13:16:08 +01:00
martin
9766f0e175 Readme and known restrictions 2021-03-20 05:44:04 +01:00
martin
9346acaaa0 MacOS: Get cursor keys to work under OSR 2021-03-20 05:29:35 +01:00
martin
c45c130b33 Expose additional event properties 2021-03-20 05:29:35 +01:00
Salvador Díaz Fau
181f589843 Update to CEF 89.0.7 2021-03-14 11:54:24 +01:00
martin
bd947d73a9 Add component LazarusOsrBrowserWindow / limited keyboard support, no sys keys, some keys missing on Mac 2021-03-11 16:49:26 +01:00
martin
83da1908ee Refactor BufferPanel: call OnPaint, after painting / allow apps to paint in browser 2021-03-10 18:57:50 +01:00
martin
28d4240ace Refactor BufferPanel: Allow inherited classes to hook IME events 2021-03-10 18:57:49 +01:00
martin
243b42ebd4 refactor Component LazBrowserWindow / Extracted TLazChromium 2021-03-10 18:57:49 +01:00
martin
d37e72c010 Changed Demo BrowserWindow (Lazarus_any_OS) to use ContextInitialized Handler 2021-03-10 17:07:58 +01:00
martin
605d31f8cf Added CefLazApplication: Provide RegisterHandler for ContextInitialized 2021-03-10 17:07:58 +01:00
Salvador Díaz Fau
b9c57057b8 Fixed deprecated GetLocaleFormatSettings symbol warning thanks to dilfich 2021-03-08 14:24:26 +01:00
Salvador Díaz Fau
1515e2bf99 Update to CEF 89.0.6
Added GlobalCEFApp.ApiHashUniversal
Added GlobalCEFApp.ApiHashPlatform
Added GlobalCEFApp.ApiHashCommit
Added a menu option to the MiniBrowser demo to show the CEF version info and API hashes.
2021-03-06 12:24:28 +01:00
martin
8676b8c90a Fix compile for Cocoa with Lazarus fixes branch 2.0.x / Requires patches LCL from SVN rev 63693 2021-03-02 00:03:55 +01:00
martin
754fd4a952 New TLazarusBrowserWindow. Handles all required events. 2021-03-01 01:18:26 +01:00
martin
121a43e824 CrAppProtocol for cocoa / Add Cocoa CloseChildHandle 2021-03-01 01:18:02 +01:00
martin
cee41f519b Browser can be destroyed while in event. Do not access after that. 2021-03-01 01:18:01 +01:00
Salvador Diaz Fau
ce5384b108 Moved uCEFLinkedWinControlBase to the source directory
Fixed build issues in Delphi with uCEFLinkedWinControlBase
Fixed GetDeviceScaleFactor for MacOS in FMX
Updated Readme
2021-02-24 10:57:59 +01:00
martin
c7fba0eb39 Extracted base-class for TCefWindow with Chromium / Move WndProc 2021-02-23 17:37:39 +01:00
martin
ff9d2a39a8 Extracted base-class for TCefWindow with Chromium 2021-02-23 17:37:00 +01:00
Salvador Diaz Fau
1ef28cb013 Fix Lazarus build issue 2021-02-21 18:49:04 +01:00
Salvador Diaz Fau
92da537bf7 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
2021-02-21 18:41:25 +01:00
Salvador Diaz Fau
51d8c20f63 Fixed UTF8 string conversion in SimpleBrowser for Linux
- Removed "cmem" and "interfaces" from the TinyBrowser2 demo for Linux.
- Simplified the code of the TinyBrowser2 demo for Linux.
- Added the workaround for the CEF focus issue to TChromiumWindow in Linux.
- Set the result type of GetChildWindowHandle to LclType.THandle in FPC for TCEFWinControl, TCEFLinkedWindowParent and TChromiumWindow.
2021-02-21 11:11:08 +01:00
Salvador Diaz Fau
21ae7cec31 Update CEF_CHROMEELF_VERSION_BUILD 2021-02-20 17:30:59 +01:00
Salvador Diaz Fau
9d17a50210 Update to CEF 88.2.9
Added the SimpleBrowser demo for Linux.
Added Linux support to TChromiumWindow.
Removed unused code and added more code comments to the SimpleBrowser demos for Windows.
2021-02-20 17:14:15 +01:00
martin
4a49ab6755 Add option UseMockKeyChain for Mac. Prevents requiring permissions, but stops encrypting Cookies. 2021-02-16 23:12:07 +01:00
martin
91f0c8d740 Fix: Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly 2021-02-16 21:15:22 +01:00
martin
cd73dd8b8d Use MultiExeProcessing on Mac 2021-02-16 18:10:01 +01:00
Salvador Diaz Fau
ee94b7d2cc Added TBufferPanel.UpdateDeviceScaleFactor
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:47:22 +01:00
Salvador Diaz Fau
bdaf4554e6 Update to CEF 88.2.8
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:45:44 +01:00
Salvador Diaz Fau
7de0ea6a81 Update to CEF 88.2.7 2021-02-13 14:39:56 +01:00
Salvador Diaz Fau
086042c0d9 Update to CEF 88.2.6 2021-02-12 16:45:54 +01:00
Salvador Diaz Fau
aaf512a419 Fixed TFMXWorkScheduler.QueueThread_OnPulse. Only build it when USEQUEUETHREAD is defined. 2021-02-11 21:07:22 +01:00
Salvador Diaz Fau
002a21e6d6 Update to CEF 88.2.5
- Added TCEFWorkSchedulerQueueThread as an experimental way to handle the external message pump events for all platforms.
- Fixed backwards compatibility issues with Delphi 7.
2021-02-11 19:52:23 +01:00
Salvador Diaz Fau
e45839bb90 Added TBufferPanel.OnMouseEnter and TBufferPanel.OnMouseLeave on Lazarus
Fixed building in Windows
Issue #337 : First implementation. It's incomplete.
2021-02-08 10:28:36 +01:00
martin
03e917f85c Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly 2021-02-07 22:10:08 +01:00
martin
bfff18e7b5 fix compile. If IFDEF does not apply, an empty var block causes a compile error on fpc 2021-02-07 22:10:08 +01:00
martin
7c94142d25 fix compile on Fpc/Mac. Handle is PtrUInt. IFDEF MACOS only matches Delphi 2021-02-07 22:10:08 +01:00