Got this working on 10.11 (#12)

This commit is contained in:
Ankeet 2017-05-13 14:00:44 -07:00 committed by Daniel Collin
parent a5e8dd4e2e
commit 4f01702f81

View File

@ -6,7 +6,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- (id)initWithContentRect:(NSRect)contentRect
styleMask:(NSWindowStyleMask)windowStyle
styleMask:(NSUInteger)windowStyle
backing:(NSBackingStoreType)bufferingType
defer:(BOOL)deferCreation
{
@ -137,7 +137,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ (NSRect)frameRectForContentRect:(NSRect)windowContentRect styleMask:(NSWindowStyleMask)windowStyle
+ (NSRect)frameRectForContentRect:(NSRect)windowContentRect styleMask:(NSUInteger)windowStyle
{
(void)windowStyle;
return NSInsetRect(windowContentRect, 0, 0);