
/*
	NSBox subclass that just fills itself with white
	Original Source: <http://cocoa.karelia.com/AppKit_Classes/WhiteBox__A_very_si.m>
	(See copyright notice at <http://cocoa.karelia.com>)
*/

@interface WhiteBox : NSBox
@end


@implementation WhiteBox

- (void)drawRect:(NSRect)rect
{
  [[NSColor whiteColor] set];
  NSRectFill(rect);

  [super drawRect:rect];
}

@end