mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
TieChoice needs only const reference to ChoiceSetting
This commit is contained in:
parent
e008a44022
commit
0493aaccee
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user