Mainly removed useless implementation of 'methods implemented by the

delegate'; minor bug fix too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5173 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-11-14 03:17:52 +00:00
parent 55f34d177a
commit ebf13e74a0

View file

@ -191,6 +191,8 @@ static Class cellClass;
- (void) setStringValue: (NSString *)aString
{
[self abortEditing];
[[self selectedCell] setStringValue: aString];
[self setNeedsDisplay: YES];
}
@ -282,7 +284,7 @@ static Class cellClass;
- (void) validateEditing
{
} // FIX ME
}
/*
* Resizing the Control
@ -487,33 +489,6 @@ static Class cellClass;
{
}
/*
* Methods Implemented by the Delegate
*/
- (BOOL) control: (NSControl *)control
textShouldBeginEditing: (NSText *)fieldEditor
{
return NO;
}
- (BOOL) control: (NSControl *)control
textShouldEndEditing: (NSText *)fieldEditor
{
return NO;
}
- (void) controlTextDidBeginEditing: (NSNotification *)aNotification
{
}
- (void) controlTextDidEndEditing: (NSNotification *)aNotification
{
}
- (void) controlTextDidChange: (NSNotification *)aNotification
{
}
/*
* NSCoding protocol
*/