Corretec bug #11887 by letting secure text field cells draw the background colour.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2005-02-08 00:26:55 +00:00
parent 81abfa70c7
commit 2d14cc4dfe
2 changed files with 12 additions and 1 deletions

View file

@ -115,7 +115,13 @@
- (void) drawInteriorWithFrame: (NSRect)cellFrame
inView: (NSView *)controlView
{
/* Do nothing. */
/* Draw background, then ... */
if (_textfieldcell_draws_background)
{
[_background_color set];
NSRectFill ([self drawingRectForBounds: cellFrame]);
}
/* .. do nothing. */
}
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject