diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2023-02-26 10:56:40 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2023-02-26 10:56:40 +1100 |
commit | dce172e8b5508f9acd14d4241e18b875a5f67d90 (patch) | |
tree | 8aad56c210849226ce7270d6450b16e4613d9047 | |
parent | a00f308a11b90a0edb1bd9a71a78612e0463fe83 (diff) | |
download | scintilla-mirror-dce172e8b5508f9acd14d4241e18b875a5f67d90.tar.gz |
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.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 |
1 files changed, 0 insertions, 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]; } //-------------------------------------------------------------------------------------------------- |