mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 08:32:47 +02:00
LCL carbon: fixed bug [Lazarus 0010968]: Carbon TSpinEdit TFloatSpinEdit do not work correctly
git-svn-id: trunk@14455 -
This commit is contained in:
parent
d48518abac
commit
ab8a4c647c
@ -120,13 +120,13 @@ begin
|
||||
|
||||
if Widget <> nil then
|
||||
begin
|
||||
P := Widget.GetMousePos;
|
||||
if (LastMousePos.X = P.X) and (LastMousePos.Y = P.Y) then Exit;
|
||||
LastMousePos := P;
|
||||
|
||||
if Widget is TCarbonControl then
|
||||
if cceDoAction in (Widget as TCarbonControl).GetValidEvents then
|
||||
(Widget as TCarbonControl).DoAction(APartCode);
|
||||
|
||||
P := Widget.GetMousePos;
|
||||
if (LastMousePos.X = P.X) and (LastMousePos.Y = P.Y) then Exit;
|
||||
LastMousePos := P;
|
||||
|
||||
FillChar(Msg, SizeOf(TLMMouseMove), 0);
|
||||
Msg.Msg := LM_MOUSEMOVE;
|
||||
|
Loading…
Reference in New Issue
Block a user