--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1344,9 +1344,9 @@
   if (wid)
   {
     id idWin = reinterpret_cast<id>(wid);
-    if ([idWin isMemberOfClass: [InnerView class]])
-    {
-      InnerView* container = reinterpret_cast<InnerView*>(idWin);
+    if ([idWin isMemberOfClass: [SCIContentView class]])
+    {
+      SCIContentView* container = reinterpret_cast<SCIContentView*>(idWin);
       [container setCursor: curs];
     }
   }