mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02: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