mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:37:39 +00:00
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:
parent
81abfa70c7
commit
2d14cc4dfe
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue