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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user