mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
Cocoa: Cursor: all enableCursorRects() removed
This commit is contained in:
parent
b9002774db
commit
5e66a6fc46
@ -266,7 +266,6 @@ begin
|
||||
{$else}
|
||||
win := TCocoaPanel(win.initWithContentRect_styleMask_backing_defer(R, WinMask, NSBackingStoreBuffered, False));
|
||||
{$endif}
|
||||
win.enableCursorRects;
|
||||
win.setLevel(HintWindowLevel);
|
||||
win.setDelegate(win);
|
||||
{$ifdef BOOLFIX}
|
||||
@ -767,7 +766,6 @@ begin
|
||||
// see issue http://bugs.freepascal.org/view.php?id=28473
|
||||
if not (csDesigning in AWinControl.ComponentState) then
|
||||
WindowSetFormStyle(win, Form.FormStyle);
|
||||
win.enableCursorRects;
|
||||
|
||||
TCocoaWindow(win).callback := cb;
|
||||
cb.window := win;
|
||||
|
Loading…
Reference in New Issue
Block a user