From 438a205733c57ba5b3b883d2e1e246e50c73e0bd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 8 Jul 2007 11:33:45 +0000 Subject: [PATCH] In wxWidgets 2.8 GetStringSelection() returns an empty value. So use GetValue() instead. --- src/mmg/options_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mmg/options_dialog.cpp b/src/mmg/options_dialog.cpp index 713c43863..8f41a3b17 100644 --- a/src/mmg/options_dialog.cpp +++ b/src/mmg/options_dialog.cpp @@ -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();