mirror of https://github.com/BOINC/boinc.git
Mac: fix compile errors caused by upgrade to C++11
This commit is contained in:
parent
fa9f9313c9
commit
7710c0fe6f
|
@ -329,7 +329,7 @@ static void wxRectToNSRect(wxRect &wxr, NSRect &nsr) {
|
||||||
return [NSNumber numberWithBool:YES];
|
return [NSNumber numberWithBool:YES];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
||||||
return NO;
|
return [NSNumber numberWithBool:NO];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityRoleAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityRoleAttribute]) {
|
||||||
return NSAccessibilityStaticTextRole;
|
return NSAccessibilityStaticTextRole;
|
||||||
|
@ -626,7 +626,7 @@ static void wxRectToNSRect(wxRect &wxr, NSRect &nsr) {
|
||||||
return [NSNumber numberWithBool:YES];
|
return [NSNumber numberWithBool:YES];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
||||||
return NO;
|
return [NSNumber numberWithBool:NO];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
||||||
return NSAccessibilityUnignoredAncestor(parent);
|
return NSAccessibilityUnignoredAncestor(parent);
|
||||||
|
@ -926,7 +926,7 @@ static void wxRectToNSRect(wxRect &wxr, NSRect &nsr) {
|
||||||
return NSAccessibilityRoleDescription(NSAccessibilityListRole, nil);
|
return NSAccessibilityRoleDescription(NSAccessibilityListRole, nil);
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
||||||
return NO;
|
return [NSNumber numberWithBool:NO];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
||||||
return NSAccessibilityUnignoredAncestor(parent);
|
return NSAccessibilityUnignoredAncestor(parent);
|
||||||
|
@ -1248,7 +1248,7 @@ static BOOL AccessibilityEnabled = false;
|
||||||
return NSAccessibilityRoleDescription(NSAccessibilityGroupRole, nil);
|
return NSAccessibilityRoleDescription(NSAccessibilityGroupRole, nil);
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
||||||
return NO;
|
return [NSNumber numberWithBool:NO];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityParentAttribute]) {
|
||||||
return NSAccessibilityUnignoredAncestor(parent);
|
return NSAccessibilityUnignoredAncestor(parent);
|
||||||
|
@ -1540,7 +1540,7 @@ void CBOINCListCtrl::RemoveMacAccessibilitySupport() {
|
||||||
return [NSNumber numberWithBool:YES];
|
return [NSNumber numberWithBool:YES];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityFocusedAttribute]) {
|
||||||
return NO;
|
return [NSNumber numberWithBool:NO];
|
||||||
|
|
||||||
} else if ([attribute isEqualToString:NSAccessibilityNumberOfCharactersAttribute]) {
|
} else if ([attribute isEqualToString:NSAccessibilityNumberOfCharactersAttribute]) {
|
||||||
NSString *s = [self getValue];
|
NSString *s = [self getValue];
|
||||||
|
|
|
@ -317,7 +317,7 @@ CScreensaver::CScreensaver() {
|
||||||
m_iGraphicsStartingMsgCounter = 0;
|
m_iGraphicsStartingMsgCounter = 0;
|
||||||
saverState = SaverState_Idle;
|
saverState = SaverState_Idle;
|
||||||
m_wasAlreadyRunning = false;
|
m_wasAlreadyRunning = false;
|
||||||
m_CoreClientPID = nil;
|
m_CoreClientPID = 0;
|
||||||
setSSMessageText(0);
|
setSSMessageText(0);
|
||||||
m_CurrentBannerMessage = 0;
|
m_CurrentBannerMessage = 0;
|
||||||
m_bQuitDataManagementProc = false;
|
m_bQuitDataManagementProc = false;
|
||||||
|
|
Loading…
Reference in New Issue