discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenu


From: Raffael Herzog
Subject: Re: NSMenu
Date: Wed, 04 Feb 2004 12:55:14 +0100
User-agent: Opera7.23/Linux M2 build 518

On Tue, 3 Feb 2004 15:42:42 +0100, Quentin Mathé <gnustep-quentin@club-internet.fr> wrote:

NSMenu *menu = [[NSMenu alloc] initWithTitle:@""];
[NSMenu popUpContextMenu:menu withEvent:myEvent forView:myView];
RELEASE(menu);

Eeek, a context menu! ;)

the menu object doesn't seem to be released (its dealloc method is not called)... Why ?

http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html#//apple_ref/doc/uid/20000994

cu,
   Raffi

--
The difference between theory and practice is that in theory, there is no difference, but in practice, there is.

Raffael Herzog - herzog@raffael.ch - www.raffael.ch - ICQ #67961355




reply via email to

[Prev in Thread] Current Thread [Next in Thread]