Browse Source

Changed return types from bool to BOOL on NSApplicationDelegate and NSView interfaces

Jorrit Rouwe 7 months ago
parent
commit
74b5814941
1 changed files with 3 additions and 3 deletions
  1. 3 3
      TestFramework/Window/ApplicationWindowMacOS.mm

+ 3 - 3
TestFramework/Window/ApplicationWindowMacOS.mm

@@ -30,12 +30,12 @@
 	return self;
 }
 
-- (bool)acceptsFirstResponder
+- (BOOL)acceptsFirstResponder
 {
 	return YES;
 }
 
-- (bool)canBecomeKeyView
+- (BOOL)canBecomeKeyView
 {
 	return YES;
 }
@@ -81,7 +81,7 @@
 	[app_menu addItem: quit_item];
 }
 
--(bool)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender
+-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender
 {
 	// Close the app when the window is closed
 	return YES;