From 5d12d626c2d8f48a4129d43fecdf94a5f66b0998 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 7 Mar 2017 05:58:34 -0800 Subject: [PATCH] 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. --- clientgui/mac/MacAccessiblity.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/mac/MacAccessiblity.mm b/clientgui/mac/MacAccessiblity.mm index 0969a598ee..a53203c8bc 100644 --- a/clientgui/mac/MacAccessiblity.mm +++ b/clientgui/mac/MacAccessiblity.mm @@ -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]) {