소스 검색

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

Jorrit Rouwe 9 달 전
부모
커밋
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;