mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 17:11:17 +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.
|
/// those as default.
|
||||||
wxChoice *ShuttleGuiBase::TieChoice(
|
wxChoice *ShuttleGuiBase::TieChoice(
|
||||||
const wxString &Prompt,
|
const wxString &Prompt,
|
||||||
ChoiceSetting &choiceSetting )
|
const ChoiceSetting &choiceSetting )
|
||||||
{
|
{
|
||||||
// Do this to force any needed migrations first
|
// Do this to force any needed migrations first
|
||||||
choiceSetting.Read();
|
choiceSetting.Read();
|
||||||
|
@ -237,7 +237,7 @@ public:
|
|||||||
// This one is defined in terms of the next and not virtual
|
// This one is defined in terms of the next and not virtual
|
||||||
virtual wxChoice *TieChoice(
|
virtual wxChoice *TieChoice(
|
||||||
const wxString &Prompt,
|
const wxString &Prompt,
|
||||||
ChoiceSetting &choiceSetting );
|
const ChoiceSetting &choiceSetting );
|
||||||
|
|
||||||
virtual wxChoice * TieChoice(
|
virtual wxChoice * TieChoice(
|
||||||
const wxString &Prompt,
|
const wxString &Prompt,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user