NSDrawWindowBackground bug
NSDrawWindowBackground bug
- Subject: NSDrawWindowBackground bug
- From: Guy English <email@hidden>
- Date: Thu, 2 Feb 2006 20:49:28 -0500
Hi guys,
There's a bug when calling NSDrawWindowBackground in a view in a
borderless window. You'll get an exception: -[NSNextStepFrame
contentAlpha]: selector not recognized. The workaround is to do:
[[NSColor windowBackgroundColor] set];
NSRectFill( rect );
I mention it because I posted some code here earlier this week ( a
spotlight-ish menu thing ) that used NSDrawWindowBackground. When you
put that view in a borderless window ( to mimic a menu ) you'll hit
this bug. Dropping in the work around above works fine though.
( ooh, fancy radar link for those it might mean something to: rdar://
problem/4431836 )
Take care,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden