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:
Charlie Fenton 2017-03-07 05:58:34 -08:00
parent fc1cf33315
commit 5d12d626c2
1 changed files with 2 additions and 2 deletions

View File

@ -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]) {