mirror of https://github.com/BOINC/boinc.git
MGR: Mac: finish replacing all Mac APIs deprecated in OS 10.12, except in MacAccessibility.mm as explained in commit 75179d8
, but replace one API in MacAccessibility.mm that was deprecated in OS 10.6.
This commit is contained in:
parent
fc1cf33315
commit
5d12d626c2
|
@ -336,10 +336,10 @@ static void wxRectToNSRect(wxRect &wxr, NSRect &nsr) {
|
|||
|
||||
} else if ([attribute isEqualToString:NSAccessibilityRoleDescriptionAttribute]) {
|
||||
return NSAccessibilityRoleDescription(NSAccessibilityStaticTextRole,
|
||||
(isHeader && !isEventLog) ? NSAccessibilitySortButtonRole : nil);
|
||||
(isHeader && !isEventLog) ? NSAccessibilitySortButtonSubrole : nil);
|
||||
|
||||
} else if ([attribute isEqualToString:NSAccessibilitySubroleAttribute]) {
|
||||
return NSAccessibilitySortButtonRole;
|
||||
return NSAccessibilitySortButtonSubrole;
|
||||
|
||||
} else if ([attribute isEqualToString:NSAccessibilitySortDirectionAttribute]) {
|
||||
if (col == BOINCView->m_iColumnIDToColumnIndex[BOINCView->m_iSortColumnID]) {
|
||||
|
|
Loading…
Reference in New Issue