We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bc592c commit 8b67a87Copy full SHA for 8b67a87
Source/Vcl.DamDialog.pas
@@ -166,7 +166,7 @@ function RunDamDialog(DamMsg: TDamMsg; const aText: string): TDamMsgRes;
166
F.BuildButtons;
167
168
F.SetIcon;
169
- {$IFDEF USE_DPICHANGE}
+ {$IF Defined(VCL) and Defined(DCC) and (CompilerVersion >= 31)} //Delphi 10.1 Berlin
170
F.ScaleForCurrentDPI;
171
{$ENDIF}
172
F.CalcFormBounds;
0 commit comments