mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-07 06:50:04 +02:00
Use the custom conditional compilation directives
This commit is contained in:
parent
3ab78ad28c
commit
db361ed6d8
@ -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
|
||||
|
@ -157,12 +157,12 @@ begin
|
||||
end;
|
||||
|
||||
function TFMXChromium.GetScreenScale : Single;
|
||||
{$IFDEF VER310}
|
||||
{$IFDEF DELPHI24_UP}
|
||||
var
|
||||
TempHandle : TCefWindowHandle;
|
||||
{$ENDIF}
|
||||
begin
|
||||
{$IFDEF VER310}
|
||||
{$IFDEF DELPHI24_UP}
|
||||
TempHandle := GetParentFormHandle;
|
||||
|
||||
if (TempHandle <> 0) then
|
||||
|
Loading…
x
Reference in New Issue
Block a user