mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
ShuttleGui always sets name of static text box
This commit is contained in:
@@ -862,6 +862,8 @@ wxStaticBox * ShuttleGuiBase::StartStatic(const wxString &Str, int iProp)
|
||||
#endif
|
||||
pBox->SetName(wxT("\a")); // non-empty string which screen readers do not read
|
||||
}
|
||||
else
|
||||
pBox->SetName( wxStripMenuCodes( Str ) );
|
||||
mpSubSizer = std::make_unique<wxStaticBoxSizer>(
|
||||
pBox,
|
||||
wxVERTICAL );
|
||||
|
||||
Reference in New Issue
Block a user