mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 04:50:54 +00:00
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:
parent
55f34d177a
commit
ebf13e74a0
1 changed files with 3 additions and 28 deletions
|
@ -191,6 +191,8 @@ static Class cellClass;
|
||||||
|
|
||||||
- (void) setStringValue: (NSString *)aString
|
- (void) setStringValue: (NSString *)aString
|
||||||
{
|
{
|
||||||
|
[self abortEditing];
|
||||||
|
|
||||||
[[self selectedCell] setStringValue: aString];
|
[[self selectedCell] setStringValue: aString];
|
||||||
[self setNeedsDisplay: YES];
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
@ -282,7 +284,7 @@ static Class cellClass;
|
||||||
|
|
||||||
- (void) validateEditing
|
- (void) validateEditing
|
||||||
{
|
{
|
||||||
} // FIX ME
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resizing the Control
|
* 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
|
* NSCoding protocol
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue