mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-29 15:09:36 +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
|
if (AWinControl.Handle <> 0) then
|
||||||
begin
|
begin
|
||||||
Obj := NSObject(AWinControl.Handle);
|
Obj := NSObject(AWinControl.Handle);
|
||||||
|
if Obj.isKindOfClass_(NSWindow) then
|
||||||
|
NSWindow(Obj).resetCursorRects
|
||||||
|
else
|
||||||
if Obj.isKindOfClass_(NSView) then
|
if Obj.isKindOfClass_(NSView) then
|
||||||
NSView(Obj).resetCursorRects;
|
NSView(Obj).resetCursorRects;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user