On Jul 23, 2011, at 9:33 PM, Tom Jeffries wrote:

> The code in the graphics module that displays the window
> is working perfectly, but somehow drawRect never gets called after it is
> called during initialization.

Are you certain it never gets called? Put an NSLog(@“drawRect!”); call into the 
drawRect: method and see if that message gets logged when you expect or not.
Put a breakpoint in the button’s action method and see whether that gets 
called. Check the value of the variable you call setNeedsDisplay: on — if it’s 
nil, nothing will happen.

—Jens_______________________________________________

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

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

Reply via email to