mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 12:59:14 +02:00
Cocoa: Making mousemove events (needed for hint) available for parented Forms
git-svn-id: trunk@43825 -
This commit is contained in:
parent
943ad98d89
commit
ad229fa25c
@ -415,7 +415,10 @@ begin
|
||||
begin
|
||||
cnt.callback := TLCLCustomControlCallback.Create(cnt, AWinControl);
|
||||
if AParams.WndParent <> 0 then
|
||||
begin
|
||||
NSView(APArams.WndParent).addSubView(cnt);
|
||||
cnt.window.setAcceptsMouseMovedEvents(True);
|
||||
end;
|
||||
end;
|
||||
|
||||
Result := TLCLIntfHandle(cnt);
|
||||
|
Loading…
Reference in New Issue
Block a user