1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-09 06:06:24 +01:00

Add names to some windows.

This is mainly for automation, so that when exploring the windows we have a name for
each.
This commit is contained in:
James Crook
2017-12-22 13:35:18 +00:00
parent 42573d36f8
commit db45280695
2 changed files with 8 additions and 2 deletions

View File

@@ -273,10 +273,12 @@ void SelectionBar::Populate()
_("Length and End of Selection"),
_("Length and Center of Selection"),
};
// The choice control now has a name.
// If this is less good for VI users, can go back to no name.
mChoice = safenew wxChoice
(this, ChoiceID, wxDefaultPosition, wxDefaultSize, 4, choices,
0, wxDefaultValidator, "");
mChoice->SetName(wxT("\a")); // stop Jaws screen reader using nearby text for name when name is empty
0, wxDefaultValidator, "Selection Type Chooser");
//mChoice->SetName(wxT("\a")); // stop Jaws screen reader using nearby text for name when name is empty
mChoice->SetSelection(0);
#ifdef __WXGTK__
// Combo boxes are taller on Linux, and if we don't do the following, the selection toolbar will