1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

FIx so NVDA reads 'Categories' rather than 'trreCtrl'.

Fix by Robert Hänggi.
This commit is contained in:
James Crook
2017-05-28 16:07:02 +01:00
parent 515ec64a36
commit 534cf87265

View File

@@ -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);