diff options
| author | Tse Kit Yam <me@kytse.com> | 2016-09-21 09:19:44 +1000 |
|---|---|---|
| committer | Tse Kit Yam <me@kytse.com> | 2016-09-21 09:19:44 +1000 |
| commit | 62b7f36056140578bfd11003521e80ab1100199b (patch) | |
| tree | ec963ea29bf5f512577e2254fca8f1a94bb2e54f /cocoa | |
| parent | 26bcc5f887292ec59378e048b6da432710e05cde (diff) | |
| download | scintilla-mirror-62b7f36056140578bfd11003521e80ab1100199b.tar.gz | |
Bug [#1863]. Allow subclass of SCIContentView to set cursor.
Diffstat (limited to 'cocoa')
| -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]; |
