mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Remove needless uses of wxString::c_str() in wxString::Format...
... and similar wx "variadics," which all treat wxString smartly enough that you don't need this. Don't need c_str either to convert wxString to const wxChar * because wxString has a conversion operator that does the same.
This commit is contained in:
@@ -346,7 +346,7 @@ ToolBar::~ToolBar()
|
||||
wxString ToolBar::GetTitle()
|
||||
{
|
||||
/* i18n-hint: %s will be replaced by the name of the kind of toolbar.*/
|
||||
return wxString::Format( _("Audacity %s Toolbar"), GetLabel().c_str() );
|
||||
return wxString::Format( _("Audacity %s Toolbar"), GetLabel() );
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user