Hi,

> On Dec 13, 2018, at 3:27 PM, Tom Doan <t...@estima.com> wrote:
> 
> ITOT that the problem was that I had a call to lockFocusIfCanDraw 
> in my drawRect handler (from who knows what prior incarnation of 
> the OS) which, according to the documentation is deprecated and 
> "does nothing and should not be called”.

I’m glad you figured out the problem.

One small thing to point out: “does nothing and should never be called” is in 
the documentation for -lockFocusIfCanDrawInContext: 
<https://developer.apple.com/documentation/appkit/nsview/1483534-lockfocusifcandraw>.
  The comment is indeed correct.  It does not and has never done anything on 
Mac OS X.

You were probably calling -lockFocusIfCanDraw 
<https://developer.apple.com/documentation/appkit/nsview/1483285-lockfocusifcandraw>,
 which does not say that.

Hope that clarifies things a bit,

Matt
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to