From 4f01702f81630f929206169a3f9a9cd8f6e67efe Mon Sep 17 00:00:00 2001 From: Ankeet Date: Sat, 13 May 2017 14:00:44 -0700 Subject: [PATCH] Got this working on 10.11 (#12) --- src/macosx/OSXWindow.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macosx/OSXWindow.m b/src/macosx/OSXWindow.m index e1107d1..bdbeb07 100644 --- a/src/macosx/OSXWindow.m +++ b/src/macosx/OSXWindow.m @@ -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);