diff --git a/Source/NSTextFieldCell.m b/Source/NSTextFieldCell.m index 46eca3438..c9a3950f0 100644 --- a/Source/NSTextFieldCell.m +++ b/Source/NSTextFieldCell.m @@ -129,9 +129,13 @@ text_color = aColor; } -- (id) setUpFieldEditorAttributes: (id)textObject +- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject { - return nil; + textObject = [super setUpFieldEditorAttributes: textObject]; + [textObject setDrawsBackground: draw_background]; + [textObject setBackgroundColor: background_color]; + [textObject setTextColor: text_color]; + return textObject; } - (NSColor *) textColor