mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02: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:
@@ -398,14 +398,14 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent,
|
||||
S.StartTwoColumn();
|
||||
{
|
||||
mEncodingChoice = S.Id(ChoiceID).AddChoice(_("Encoding:"),
|
||||
encodings[selection],
|
||||
&encodings);
|
||||
&encodings,
|
||||
selection);
|
||||
mEndianChoice = S.Id(ChoiceID).AddChoice(_("Byte order:"),
|
||||
endians[endian],
|
||||
&endians);
|
||||
&endians,
|
||||
endian);
|
||||
mChannelChoice = S.Id(ChoiceID).AddChoice(_("Channels:"),
|
||||
chans[mChannels-1],
|
||||
&chans);
|
||||
&chans,
|
||||
mChannels - 1);
|
||||
}
|
||||
S.EndTwoColumn();
|
||||
|
||||
|
Reference in New Issue
Block a user