Maintaining "well-ness" in subclasses of NSImageView?
Maintaining "well-ness" in subclasses of NSImageView?
- Subject: Maintaining "well-ness" in subclasses of NSImageView?
- From: Dinu Gherman <email@hidden>
- Date: Mon, 17 Jun 2002 14:30:43 +0200 (CEST)
Hi,
I've got a subclass of NSImageView, say MyImageView, where
I'm adding some drag-and-drop behaviour. I also would like
to keep the well-appearance of NSImageView, but when just
calling the superclass' drawRect() method like this:
-(void)drawRect:(NSRect)rect
{
[super drawRect:rect];
}
or even when skipping its implementation in MyImageView
I never get to see the "well-ness" of the original base
class, NSImageView.
Is there some trick needed for achieving this, and if so,
which one?
Thanks,
Dinu
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.