Re: Blue default button style hangs.
Re: Blue default button style hangs.
- Subject: Re: Blue default button style hangs.
- From: j o a r <email@hidden>
- Date: Wed, 12 Nov 2008 10:57:52 -0800
On Nov 12, 2008, at 10:45 AM, Russ wrote:
I'm trying to get the blue default button style to show up. It's
NSMomentaryPushInButton with NSRoundedBezelStyle. I have it set as
InitialFirstResponder. Works fine to start with. But if I
setKeyEquivalent:@"\r" on it, or take its parent (modal) window and
setDefaultButtonCell:[btn cell] on it, then the window hangs when it
opens ----
It waits on a semaphore in NSViewHierarchyLock from the view and
windows's displayIfNeeded code, all from within the runModalForWindow.
What thread is this being run on? Do you have a run loop?
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden