2004-09-12 Matt Rice <ratmice@yahoo.com>

* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
        * Source/NSCell.m (-_sendsActionOn:): Implement it.
        * Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
        key press.
        * Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify        the object value and send the event to the cell if the cell works on
        mouse events. (Fixes #9609).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20046 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2004-09-12 16:58:32 +00:00
parent 55d59ae5c2
commit afaa68f9d5
5 changed files with 77 additions and 33 deletions

View file

@ -456,6 +456,7 @@ typedef enum _NSControlSize {
inFrame: (NSRect)aRect;
- (void) _drawImage: (NSImage *)anImage inFrame: (NSRect)aRect
isFlipped: (BOOL)flipped;
- (BOOL) _sendsActionOn:(int)eventTypeMask;
@end
//