Skip to content

Commit

Permalink
Changed return types from bool to BOOL on NSApplicationDelegate and N…
Browse files Browse the repository at this point in the history
…SView interfaces
  • Loading branch information
jrouwe committed Jan 12, 2025
1 parent 4dd129f commit 74b5814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TestFramework/Window/ApplicationWindowMacOS.mm
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ - (MetalView *)init:(ApplicationWindowMacOS *)window
return self;
}

- (bool)acceptsFirstResponder
- (BOOL)acceptsFirstResponder
{
return YES;
}

- (bool)canBecomeKeyView
- (BOOL)canBecomeKeyView
{
return YES;
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 74b5814

Please sign in to comment.