disable animation of default button

2010-10-13 Thread Georg Seifert
Hi, I have a subclass of NSButton. The bezel style is set to Push. If the button has the return key equivalent and becoming the default button (drawn blue) the - (void) drawBezelWithFrame:(NSRect)cellFrame inView:(NSView *)controlView method gets called over end over again. In the standard

Re: disable animation of default button

2010-10-13 Thread Lee Ann Rucker
Try a different bezel. Any of the other push button styles should work fine (gradient, textured, etc) if you're doing your own drawing. On Oct 13, 2010, at 4:22 PM, Georg Seifert wrote: Hi, I have a subclass of NSButton. The bezel style is set to Push. If the button has the return key