Better handling of item insertions in NSMenu

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10804 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-08-30 06:51:48 +00:00
parent ef5ec4b497
commit 9653e1b1d4

View file

@ -1,3 +1,14 @@
2001-08-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
[insertItemWithTitle:...atIndex:] autorelease the return value.
[mouseDown:] when we create the location directory, autorelease it.
In [_locationKey] and [display] remove unneeded checks for popup.
In [copyWithZone:] set the autoenable property before adding items.
* Source/NSPopUpButtonCell.m
In [insertItemWithTitle:atIndex:] use action and target from the
cell for menu item.
2001-08-27 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSMenuItem.h