mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 21:59:23 +02:00
cocoa: request cursor update on form cursor change too
git-svn-id: trunk@33605 -
This commit is contained in:
parent
931337302f
commit
da92ed2789
@ -268,6 +268,9 @@ begin
|
||||
if (AWinControl.Handle <> 0) then
|
||||
begin
|
||||
Obj := NSObject(AWinControl.Handle);
|
||||
if Obj.isKindOfClass_(NSWindow) then
|
||||
NSWindow(Obj).resetCursorRects
|
||||
else
|
||||
if Obj.isKindOfClass_(NSView) then
|
||||
NSView(Obj).resetCursorRects;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user