From 534cf8726552ab809f0ee35d483f4e1c5da46b9b Mon Sep 17 00:00:00 2001 From: James Crook Date: Sun, 28 May 2017 16:07:02 +0100 Subject: [PATCH] FIx so NVDA reads 'Categories' rather than 'trreCtrl'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix by Robert Hänggi. --- src/prefs/PrefsDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prefs/PrefsDialog.cpp b/src/prefs/PrefsDialog.cpp index 1db8f4373..3bdcec946 100644 --- a/src/prefs/PrefsDialog.cpp +++ b/src/prefs/PrefsDialog.cpp @@ -246,6 +246,8 @@ PrefsDialog::PrefsDialog wxASSERT(factories.size() > 0); if (!uniquePage) { mCategories = safenew wxTreebookExt(this, wxID_ANY, mTitlePrefix); + // RJH: Prevent NVDA from reading "treeCtrl" + mCategories->GetTreeCtrl()->SetName(_("Category")); S.StartHorizontalLay(wxALIGN_LEFT | wxEXPAND, true); { S.Prop(1);