浏览代码

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

Jorrit Rouwe 11 月之前
父节点
当前提交
74b5814941
共有 1 个文件被更改,包括 3 次插入3 次删除
  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;