diff --git a/TestFramework/Window/ApplicationWindowMacOS.mm b/TestFramework/Window/ApplicationWindowMacOS.mm index 521a508c9..175ab117a 100644 --- a/TestFramework/Window/ApplicationWindowMacOS.mm +++ b/TestFramework/Window/ApplicationWindowMacOS.mm @@ -30,12 +30,12 @@ - (MetalView *)init:(ApplicationWindowMacOS *)window return self; } -- (bool)acceptsFirstResponder +- (BOOL)acceptsFirstResponder { return YES; } -- (bool)canBecomeKeyView +- (BOOL)canBecomeKeyView { return YES; } @@ -81,7 +81,7 @@ -(void)applicationDidFinishLaunching:(NSNotification *)notification [app_menu addItem: quit_item]; } --(bool)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender +-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { // Close the app when the window is closed return YES;