In wxWidgets 2.8 GetStringSelection() returns an empty value. So use GetValue() instead.

This commit is contained in:
Moritz Bunkus 2007-07-08 11:33:45 +00:00
parent eb61b51680
commit 438a205733

View File

@ -281,7 +281,7 @@ options_dialog::enable_output_filename_controls(bool enable) {
void
options_dialog::on_ok(wxCommandEvent &evt) {
m_options.mkvmerge = tc_mkvmerge->GetValue();
m_options.priority = cob_priority->GetStringSelection();
m_options.priority = cob_priority->GetValue();
m_options.output_directory = tc_output_directory->GetValue();
m_options.autoset_output_filename = cb_autoset_output_filename->IsChecked();
m_options.ask_before_overwriting = cb_ask_before_overwriting->IsChecked();