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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to