1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

David Bailes patch for bug 577

This commit is contained in:
v.audacity
2012-10-13 00:59:14 +00:00
parent a7df83f27d
commit fd17ae3903
10 changed files with 37 additions and 6 deletions

View File

@@ -106,12 +106,15 @@ LabelDialog::LabelDialog(wxWindow *parent,
wxBoxSizer *vs = new wxBoxSizer(wxVERTICAL);
// A little instruction
vs->Add(new wxStaticText(this,
wxID_ANY,
_("Press F2 or double click to edit cell contents.")),
0,
wxALIGN_LEFT | wxALL,
5);
wxStaticText *instruct =
new wxStaticText(this,
wxID_ANY,
_("Press F2 or double click to edit cell contents.")),
instruct->SetName(instruct->GetLabel()); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
vs->Add(instruct,
0,
wxALIGN_LEFT | wxALL,
5);
// Create the main sizer
mGrid = new Grid(this, wxID_ANY);