Rename a bunch of constants to fix deprecation warnings (10.12)

This commit is contained in:
Allan Odgaard
2018-06-16 22:27:01 +02:00
parent 3fb653ebf0
commit e70791ee89
60 changed files with 217 additions and 217 deletions

View File

@@ -22,7 +22,7 @@ OAK_DEBUG_VAR(HTMLOutputWindow);
NSRect rect = [[NSScreen mainScreen] visibleFrame];
rect = NSIntegralRect(NSInsetRect(rect, NSWidth(rect) / 3, NSHeight(rect) / 5));
self.window = [[NSWindow alloc] initWithContentRect:rect styleMask:(NSTitledWindowMask|NSClosableWindowMask|NSResizableWindowMask|NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO];
self.window = [[NSWindow alloc] initWithContentRect:rect styleMask:(NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable|NSWindowStyleMaskMiniaturizable) backing:NSBackingStoreBuffered defer:NO];
self.htmlOutputView = [[OakHTMLOutputView alloc] init];
[self.window bind:NSTitleBinding toObject:self.htmlOutputView withKeyPath:@"mainFrameTitle" options:nil];