Commit c2eb2383 authored by Charlie Fenton's avatar Charlie Fenton

MGR: Tweaks to Mac accessibility

svn path=/trunk/boinc/; revision=19718
parent 6599b9a9
......@@ -466,10 +466,13 @@ OSStatus BOINCListAccessibilityEventHandler( EventHandlerCallRef inHandlerCallRe
wxString str;
if (isHeader) {
str = _("blank");
} else {
str = _("list of ");
str += pView->GetViewName();
} else {
str = _("blank");
if (pList->GetItemCount() <= 0) {
str += _(" is empty");
}
}
CFStringRef description = CFStringCreateWithCString(NULL, str.char_str(), kCFStringEncodingUTF8);
......@@ -553,7 +556,7 @@ OSStatus BOINCListAccessibilityEventHandler( EventHandlerCallRef inHandlerCallRe
} else { // ! isHeader
rowCount = pList->GetItemCount();
if (rowCount <= 0) {
str = _("blank");
str = _("list is empty");
} else {
if (pList->GetItemState(row, wxLIST_STATE_SELECTED) & wxLIST_STATE_SELECTED) {
str = _("selected ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment