You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-22 22:17:48 +02:00
Use the custom conditional compilation directives
This commit is contained in:
@ -377,12 +377,12 @@ begin
|
||||
end;
|
||||
|
||||
function TFMXBufferPanel.GetScreenScale : Single;
|
||||
{$IFDEF VER310}
|
||||
{$IFDEF DELPHI24_UP}
|
||||
var
|
||||
TempHandle : TCefWindowHandle;
|
||||
{$ENDIF}
|
||||
begin
|
||||
{$IFDEF VER310}
|
||||
{$IFDEF DELPHI24_UP}
|
||||
TempHandle := GetParentFormHandle;
|
||||
|
||||
if (TempHandle <> 0) then
|
||||
|
Reference in New Issue
Block a user