backing:NSBackingStoreBuffered defer:YES];
}
-
/* Not to be released when closed */
[self.primaryWindow setReleasedWhenClosed:NO];
[self.primaryWindow setExcludedFromWindowsMenu: YES]; /* we're using custom window menu handling */
@"Could not load the tile set. Switched back to ASCII.",
@"Alert informative message for failed tile set load");
NSAlert *alert = [[NSAlert alloc] init];
-
alert.messageText = msg;
alert.informativeText = info;
[alert runModal];
@"Label.Quit", AngbandMessageCatalog, [NSBundle mainBundle],
@"Quit", @"Quit");
NSAlert *alert = [[NSAlert alloc] init];
-
/*
* Note that NSCriticalAlertStyle was deprecated in 10.10. The
* replacement is NSAlertStyleCritical.
alert.informativeText = info;
[alert addButtonWithTitle:quit_label];
[alert runModal];
- exit( 0 );
+ exit(0);
}
return bundleLibPath;