mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 12:58:18 +02:00
lcl: forma: change wParamhi to hi(wParam), issue #31043
git-svn-id: trunk@53502 -
This commit is contained in:
parent
f4df715ad3
commit
5c4c3d1948
@ -2249,10 +2249,10 @@ procedure TCustomForm.WMDPIChanged(var Msg: TLMessage);
|
||||
begin
|
||||
if Parent=nil then
|
||||
begin
|
||||
if Scaled and (Msg.wParamhi<>PixelsPerInch) then
|
||||
if Scaled and (hi(Msg.wParam)<>PixelsPerInch) then
|
||||
begin
|
||||
ScaleBy(Msg.wParamhi, PixelsPerInch);
|
||||
FPixelsPerInch := Msg.wParamhi;
|
||||
ScaleBy(hi(Msg.wParam), PixelsPerInch);
|
||||
FPixelsPerInch := hi(Msg.wParam);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user