mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +02:00
one function can return reference instead of value
This commit is contained in:
parent
ce4ba9762b
commit
1af342ff64
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user