Improved NSPopupButtoncells interaction with the NSMenu.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-09-13 13:41:26 +00:00
parent aa2a156b1c
commit 8d2ae95e20

View file

@ -1,3 +1,16 @@
2003-09-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
In [update] use [NSApplication targetForAction:to:from:] to be
consistent with the [performActionForItemAtIndex:] implementation.
* Source/NSPopUpButtonCell.m
Undid last change. Rewrote [setMenu:] to make the popup button
cell listen to change notifications of the menu. New method
[itemChanged:] gets called when a menu item changes. Added hack to
[initWithCoder:] to set menu correctly and read old menu items correctly.
Check in [itemAtIndex:] that the index is vaild and return nil
otherwise.
2003-09-07 Adam Fedor <fedor@gnu.org>
* Source/NSBitmapImageRep.m: Document.