* NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further,

selectWithFrame: preliminary implementation.
	* NSButton.m: acceptsFirstResponder implement.
	* NSText.m: shouldDrawInsertionPoint test for field editor status.
	* NSTextField.m: mouseDown: use field editor instead of previous non OS
	text field cell editor code, textShouldEndEditing: implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
far 1998-12-16 11:48:33 +00:00
parent bf5137b858
commit cb3439381e
7 changed files with 238 additions and 247 deletions

View file

@ -284,12 +284,12 @@ id gnustep_gui_nsbutton_class = nil;
}
//
// Handling Events and Action Messages
// Determining the first responder
//
- (BOOL)acceptsFirstResponder
{
return [self keyEquivalent] != nil;;
}
{
return [cell acceptsFirstResponder] && ([self keyEquivalent] != nil);
}
- (void) keyDown: (NSEvent*)theEvent
{
@ -297,6 +297,10 @@ id gnustep_gui_nsbutton_class = nil;
[super keyDown: theEvent];
}
//
// Handling Events and Action Messages
//
- (void) performClick: (id)sender
{
[cell performClick: sender];