libs-gui/Source/NSTableHeaderCell.m
Richard Frith-MacDonald dd34792910 Lock focus fixes - get cells to lock focus before drawing themselves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4924 72102866-910b-0410-8b05-ffd578937521
1999-09-21 05:10:54 +00:00

14 lines
383 B
Objective-C

#include <AppKit/NSTableHeaderCell.h>
#include <AppKit/NSColor.h>
@implementation NSTableHeaderCell
- (void) drawInteriorWithFrame: (NSRect)cellFrame
inView: (NSView *)controlView
{
[controlView lockFocus];
[[NSColor controlShadowColor] set];
NSRectFill(cellFrame);
[super drawInteriorWithFrame: cellFrame inView: controlView];
[controlView unlockFocus];
}
@end