From c976630f406805aa08722be4eef2f253a80389b6 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Mon, 18 Jun 2018 14:23:15 +0100 Subject: [PATCH] MacroCommandDialog: add accessibility name for details text box --- src/BatchCommandDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BatchCommandDialog.cpp b/src/BatchCommandDialog.cpp index 8651c936f..8ab719c0b 100644 --- a/src/BatchCommandDialog.cpp +++ b/src/BatchCommandDialog.cpp @@ -98,9 +98,11 @@ void MacroCommandDialog::PopulateOrExchange(ShuttleGui &S) S.SetStretchyCol(1); mParameters = S.AddTextBox(_("&Parameters"), wxT(""), 0); mParameters->SetEditable(false); - S.Prop(0).AddPrompt( _("&Details" ) ); + wxString prompt{_("&Details")}; + S.Prop(0).AddPrompt(prompt); mDetails = S.AddTextWindow( wxT("")); mDetails->SetEditable(false); + mDetails->SetName(wxStripMenuCodes(prompt)); } S.EndMultiColumn();