mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 20:52:09 +01:00
ShuttleGui::AddChoice takes int to specify selection, with a default...
... This makes things brief and where non-default avoids some repetition of literal strings
This commit is contained in:
@@ -822,8 +822,8 @@ void DeviceToolBar::ShowComboDialog(wxChoice *combo, const wxString &title)
|
||||
S.StartHorizontalLay(wxCENTER, false);
|
||||
{
|
||||
c = S.AddChoice(combo->GetName(),
|
||||
combo->GetStringSelection(),
|
||||
&inputSources);
|
||||
&inputSources,
|
||||
combo->GetSelection());
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user