14 lines
409 B
Mathematica
14 lines
409 B
Mathematica
|
#import "MyUtils.h"
|
||
|
|
||
|
@implementation NSView (MyUtils)
|
||
|
//---------------------------------------------------------------------------
|
||
|
|
||
|
//+ (void)FillCurrentViewWithColor:(NSColor*)color
|
||
|
// { [color set]; [NSBezierPath fillRect:[self bounds]]; }
|
||
|
|
||
|
- (BOOL)MakeFirstResponder
|
||
|
{ return [[self window] makeFirstResponder:self]; }
|
||
|
|
||
|
//---------------------------------------------------------------------------
|
||
|
@end
|