Thanks, that was it.

Micha
On 30 juin 08, at 16:27, Charles Steinman wrote:

--- On Mon, 6/30/08, Micha Fuhrmann <[EMAIL PROTECTED]> wrote:

I'm trying to registerForDraggedTypes a NSMatrix
subclass that's used
in a NSBrowser. When I override init or initWithFrame in my
Matrix
class in manner to include registerForDraggedTypes none of
the two
methods get called.

If you look at the NSMatrix docs, the designated initializer for NSMatrix is - initWithFrame:mode:prototype:numberOfRows:numberOfColumns:. Try overriding that.

Cheers,
Chuck




_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to