mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-17 22:21:17 +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();
|
return dlog.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString DefaultMultiDialogMessage()
|
const wxString &DefaultMultiDialogMessage()
|
||||||
{
|
{
|
||||||
return _("Please select an action");
|
return _("Please select an action");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
class wxString;
|
class wxString;
|
||||||
|
|
||||||
wxString DefaultMultiDialogMessage();
|
const wxString &DefaultMultiDialogMessage();
|
||||||
|
|
||||||
// Display a dialog with radio buttons.
|
// Display a dialog with radio buttons.
|
||||||
// Return the zero-based index of the chosen button.
|
// Return the zero-based index of the chosen button.
|
||||||
|
|||||||
Reference in New Issue
Block a user