1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

TieChoice needs only const reference to ChoiceSetting

This commit is contained in:
Paul Licameli
2019-11-27 00:11:07 -05:00
parent e008a44022
commit 0493aaccee
2 changed files with 2 additions and 2 deletions

View File

@@ -1892,7 +1892,7 @@ wxTextCtrl * ShuttleGuiBase::TieNumericTextBox(
/// those as default.
wxChoice *ShuttleGuiBase::TieChoice(
const wxString &Prompt,
ChoiceSetting &choiceSetting )
const ChoiceSetting &choiceSetting )
{
// Do this to force any needed migrations first
choiceSetting.Read();

View File

@@ -237,7 +237,7 @@ public:
// This one is defined in terms of the next and not virtual
virtual wxChoice *TieChoice(
const wxString &Prompt,
ChoiceSetting &choiceSetting );
const ChoiceSetting &choiceSetting );
virtual wxChoice * TieChoice(
const wxString &Prompt,