Files
textmate/Frameworks/OakAppKit/src/OakBorderlessPanel.mm
Allan Odgaard 9894969e67 Initial commit
2012-08-09 16:25:56 +02:00

16 lines
422 B
Plaintext

#import "OakBorderlessPanel.h"
@implementation OakBorderlessPanel
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag
{
styleMask |= NSBorderlessWindowMask;
styleMask &= ~NSTitledWindowMask;
return [super initWithContentRect:contentRect styleMask:styleMask backing:backingType defer:flag];
}
- (BOOL)isKeyWindow
{
return YES;
}
@end