* Source/NSTextFieldCell.m (-setEnabled:): Revert previous patch.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23583 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-09-21 19:43:01 +00:00
parent 8dce386f4d
commit 1e779eacaf
2 changed files with 4 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2006-09-21 Matt Rice <ratmice@yahoo.com>
* Source/NSTextFieldCell.m (-setEnabled:): Revert previous patch.
2006-09-20 Matt Rice <ratmice@yahoo.com>
* Source/NSTextField.m (-mouseDown:): Check if the control is

View file

@ -176,16 +176,6 @@ static NSColor *txtCol;
return _text_color;
}
/** <p>Enables or Disables the cell. If disabling the cell, resets its string
value to an empty string.</p>
*/
- (void) setEnabled:(BOOL)flag
{
[super setEnabled:flag];
if (flag == NO)
[self setStringValue:@""];
}
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject
{
textObject = [super setUpFieldEditorAttributes: textObject];