From dce172e8b5508f9acd14d4241e18b875a5f67d90 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sun, 26 Feb 2023 10:56:40 +1100 Subject: Remove deprecated setOnMouseEntered calls. They do not appear to be needed since SCIMarginView does not have a mouseEntered method and SCIContentView receives mouseEntered anyway because of its tracking area. --- cocoa/ScintillaView.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 6e113b523..705f6a00e 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -197,7 +197,6 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { marginRect.origin.x = x; marginRect.size.width = width; [self addCursorRect: marginRect cursor: cc]; - [cc setOnMouseEntered: YES]; x += width; } } @@ -316,7 +315,6 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { // We only have one cursor rect: our bounds. const NSRect visibleBounds = mOwner.backend->GetBounds(); [self addCursorRect: visibleBounds cursor: mCurrentCursor]; - [mCurrentCursor setOnMouseEntered: YES]; } //-------------------------------------------------------------------------------------------------- -- cgit v1.2.3