mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 06:09:30 +02:00
win32 interface: fixed TSmallPomt to WParam typecast (issue #11954)
git-svn-id: trunk@16206 -
This commit is contained in:
parent
3b7fe72130
commit
236126e7ee
@ -186,7 +186,7 @@ var
|
||||
Pos.Y := Y;
|
||||
end;
|
||||
ClientToScreen(Handle, Pos);
|
||||
WParam := Windows.WParam(PointToSmallPoint(Pos));
|
||||
WParam := Windows.WParam(Longint(PointToSmallPoint(Pos)));
|
||||
|
||||
if Windows.SendMessage(Handle, WM_NCHITTEST, 0, WParam) = HTHSCROLL then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user