diff options
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r-- | cocoa/PlatCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 82a172e3f..1b647e3e8 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1299,7 +1299,7 @@ void Window::SetCursor(Cursor curs) if (wid) { id idWin = reinterpret_cast<id>(wid); - if ([idWin isMemberOfClass: [SCIContentView class]]) + if ([idWin isKindOfClass: [SCIContentView class]]) { SCIContentView* container = reinterpret_cast<SCIContentView*>(idWin); [container setCursor: curs]; |