mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
* 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:
parent
8dce386f4d
commit
1e779eacaf
2 changed files with 4 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue