From 889bf7c191beb11b265cc6234ee8d3bc3a6a1062 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Fri, 23 Aug 2019 11:10:15 +0100 Subject: [PATCH] Graphic equalization: fix accessibility name Overlooked this change which should have been done when we moved to wxWidgets 3.1.1 --- src/effects/Equalization.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/effects/Equalization.cpp b/src/effects/Equalization.cpp index b8a438462..1d337765e 100644 --- a/src/effects/Equalization.cpp +++ b/src/effects/Equalization.cpp @@ -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();