Re: initWithFrame deosn't get called

2008-06-30 Thread Micha Fuhrmann
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 t

Re: initWithFrame deosn't get called

2008-06-30 Thread Charles Steinman
--- 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

Re: initWithFrame deosn't get called

2008-06-30 Thread Graham Cox
Try doing it from awakeFromNib: I had an issue where registerForDraggedTypes wasn't working if called too early, though I forget the details exactly. Moving the registration to awakeFromNib (or even windowControllerDidLoadNib if you have an NSWindowController) fixed it so I didn't investiga

initWithFrame deosn't get called

2008-06-30 Thread Micha Fuhrmann
Hi everyone, 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. [Browser setMatrixClass:[BrowserMatrixView class]];