/ Published in: Objective C
Expand |
Embed | Plain Text
{ // other stuff might happen here if ([self showsFirstResponder]) { // showsFirstResponder is set for us by the NSControl that is drawing us. NSRect focusRingFrame = cellFrame; focusRingFrame.size.height -= 2.0f; [NSGraphicsContextsaveGraphicsState]; NSSetFocusRingStyle(NSFocusRingOnly); } // other stuff might happen here }
You need to login to post a comment.
