Re: random signal 10/11 msg when terminating the app
Re: random signal 10/11 msg when terminating the app
- Subject: Re: random signal 10/11 msg when terminating the app
- From: j o a r <email@hidden>
- Date: Sun, 8 Dec 2002 12:31:18 +0100
Another thing to think about is that NSMenuView is a deprecated class
that you really shoudn't use at all. It's in the documentation.
j o a r
On Sunday, Dec 8, 2002, at 12:11 Europe/Stockholm, Janek Priimann wrote:
Yeah, I figured it out what was wrong, the menuview was being owned
already by another window. It seems that when you create a instance of
NSMenuView it also creates a borderless window for itself so the whole
bug seemed to be related with that. I assumed that views don't create
windows for theirselves.
the bug was> [window setContentView:menuView];
and after removing that old 'window' code and using [menuView window]
instead it started working correctly.
Hopefully this will help people who run into the same problem.
_______________________________________________
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.