mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 23:49:34 +02:00
* Changed GetCaretPos into GetCursorPos in GetFormRelativeMousePosition
git-svn-id: trunk@4429 -
This commit is contained in:
parent
e4f766c128
commit
bbec34165b
@ -185,7 +185,7 @@ var
|
||||
begin
|
||||
Result.X:=0;
|
||||
Result.Y:=0;
|
||||
GetCaretPos(Result);
|
||||
GetCursorPos(Result);
|
||||
FormClientOrigin:=Form.ClientOrigin;
|
||||
dec(Result.X,FormClientOrigin.X);
|
||||
dec(Result.Y,FormClientOrigin.Y);
|
||||
|
Loading…
Reference in New Issue
Block a user