Include stereo mode number and keyword in stereo mode drop down box

This commit is contained in:
Moritz Bunkus 2011-01-20 08:42:43 +01:00
parent 9e8d6a4dd0
commit 7933141817

View File

@ -173,7 +173,7 @@ tab_input_format::setup_control_contents() {
selection = cob_stereo_mode->GetSelection();
for (i = 1; num_stereo_modes >= i; ++i)
cob_stereo_mode->SetString(i, wxU(stereo_mode_c::translate(i - 1)));
cob_stereo_mode->SetString(i, wxString::Format(wxT("%s (%u; %s)"), wxU(stereo_mode_c::translate(i - 1)).c_str(), i - 1, wxU(stereo_mode_c::s_modes[i - 1]).c_str()));
cob_stereo_mode->SetSelection(selection);
if (0 == cob_fps->GetCount()) {