mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
A few bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4c6a81bf9d
commit
a77f9ca36a
3 changed files with 22 additions and 8 deletions
|
@ -229,6 +229,18 @@
|
|||
[super setStringValue:aString];
|
||||
}
|
||||
|
||||
- (void) drawInteriorWithFrame: (NSRect)cellFrame inView: (NSView*)controlView
|
||||
{
|
||||
if (draw_background)
|
||||
{
|
||||
NSRect backgroundRect = NSInsetRect(cellFrame, xDist, yDist);
|
||||
|
||||
[background_color set];
|
||||
NSRectFill(backgroundRect);
|
||||
}
|
||||
[super drawInteriorWithFrame: cellFrame inView: controlView];
|
||||
}
|
||||
|
||||
//
|
||||
// NSCoding protocol
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue