Deal better with NSPopUpButton target/action

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-12-11 06:07:20 +00:00
parent 29f428b42c
commit 788809edca

View file

@ -1,3 +1,8 @@
Sat Dec 11 06:55:59 1999 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSPopUpButton.m ([-mouseDown:]): Send NSPopUpButton
action to target.
Sat Dec 11 03:15:12 1999 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSMenu.m ([NSMenu -performActionForItemAtIndex:]): Fix:
@ -16,10 +21,9 @@ Sat Dec 11 03:15:12 1999 Nicola Pero <n.pero@mi.flashnet.it>
([-insertItemWithTitle:atIndex:]): Fixed bug/typo.
* Source/NSPopUpButtonCell.m ([-attachPopUpWithFrame:inView:]):
Rewritten. ([-performClickWithFrame:inView:]): Method still todo.
([-_popUpItemAction:]): Removed. ([-addItemWithTitle:]): Set
item's target and action to the popupbutton's ones.
([-insertItemWithTitle:atIndex:]): Do not set item's target and
action, as per spec.
([-_popUpItemAction:]): Removed. ([-addItemWithTitle:]),
([-insertItemWithTitle:atIndex:]): Changed setting of item's
target and action.
* core/gui/Headers/AppKit/NSMenu.h: Removed declaration of
unimplemented -initWithPopUpButton:
* Headers/AppKit/NSPopUpButton.h: Updated.