Update for macOS 10.13 (#13)

This commit is contained in:
Robert Swain
2018-08-26 08:47:18 +02:00
committed by Daniel Collin
parent 4f01702f81
commit cb49ea94a0
2 changed files with 9 additions and 9 deletions

View File

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