1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-08 08:01:19 +02:00

ShuttleGui always sets name of static text box

This commit is contained in:
Paul Licameli 2019-12-18 09:50:10 -05:00
parent 027a5ca32e
commit 2dbf0096cc

View File

@ -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 );