1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-07 06:55:52 +01:00

Define and use non-mutating TranslatableString::Stripped

This commit is contained in:
Paul Licameli
2019-12-19 10:23:18 -05:00
parent cd0e1e680a
commit 5e26ef1eba
8 changed files with 14 additions and 11 deletions

View File

@@ -48,9 +48,9 @@ void wxPanelWrapper::SetName(const TranslatableString & name)
wxPanel::SetName( name.Translation() );
}
void wxPanelWrapper::SetToolTip(TranslatableString toolTip)
void wxPanelWrapper::SetToolTip(const TranslatableString &toolTip)
{
wxPanel::SetToolTip( toolTip.Strip().Translation() );
wxPanel::SetToolTip( toolTip.Stripped().Translation() );
}
void wxPanelWrapper::SetName()