mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-17 14:11:13 +01:00
one function can return reference instead of value
This commit is contained in:
@@ -189,7 +189,7 @@ int ShowMultiDialog(const wxString &message,
|
||||
return dlog.ShowModal();
|
||||
}
|
||||
|
||||
wxString DefaultMultiDialogMessage()
|
||||
const wxString &DefaultMultiDialogMessage()
|
||||
{
|
||||
return _("Please select an action");
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
class wxString;
|
||||
|
||||
wxString DefaultMultiDialogMessage();
|
||||
const wxString &DefaultMultiDialogMessage();
|
||||
|
||||
// Display a dialog with radio buttons.
|
||||
// Return the zero-based index of the chosen button.
|
||||
|
||||
Reference in New Issue
Block a user