Graphic equalization: fix accessibility name

Overlooked this change which should have been done when we moved to wxWidgets 3.1.1
This commit is contained in:
David Bailes 2019-08-23 11:10:15 +01:00
parent 3e98a109c9
commit 889bf7c191
1 changed files with 4 additions and 0 deletions

View File

@ -851,6 +851,10 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
auto interpolations =
LocalizedStrings(kInterpStrings, nInterpolations);
mInterpChoice = S.Id(ID_Interp).AddChoice( {}, interpolations, 0 );
#if wxUSE_ACCESSIBILITY
// so that name can be set on a standard control
mInterpChoice->SetAccessible(safenew WindowAccessible(mInterpChoice));
#endif
mInterpChoice->SetName(_("Interpolation type"));
}
S.EndHorizontalLay();