one function can return reference instead of value

This commit is contained in:
Paul Licameli 2019-03-23 11:51:00 -04:00
parent ce4ba9762b
commit 1af342ff64
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ int ShowMultiDialog(const wxString &message,
return dlog.ShowModal();
}
wxString DefaultMultiDialogMessage()
const wxString &DefaultMultiDialogMessage()
{
return _("Please select an action");
}

View File

@ -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.