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:
parent
3e98a109c9
commit
889bf7c191
|
@ -851,6 +851,10 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
|
||||||
auto interpolations =
|
auto interpolations =
|
||||||
LocalizedStrings(kInterpStrings, nInterpolations);
|
LocalizedStrings(kInterpStrings, nInterpolations);
|
||||||
mInterpChoice = S.Id(ID_Interp).AddChoice( {}, interpolations, 0 );
|
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"));
|
mInterpChoice->SetName(_("Interpolation type"));
|
||||||
}
|
}
|
||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
|
Loading…
Reference in New Issue