summaryrefslogtreecommitdiff
path: root/src/wx/player_config_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-23 01:11:28 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-23 20:08:03 +0100
commit5088493af614f6edb3ced5bc63c7c637c4ed12d2 (patch)
tree77bc861983f547a758bc7987084aa2f63e13b38d /src/wx/player_config_dialog.cc
parent6d7cb904ba47773e0d50b3bf3e5162c0f6df9896 (diff)
Fix some wxWidgets assertion failures.
Casued by specifying wxFD_OVERWRITE_PROMPT without wxFD_SAVE; it makes no sense and in wx3.1 it raises an error.
Diffstat (limited to 'src/wx/player_config_dialog.cc')
-rw-r--r--src/wx/player_config_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc
index 06a1ef56b..c32e892d9 100644
--- a/src/wx/player_config_dialog.cc
+++ b/src/wx/player_config_dialog.cc
@@ -123,12 +123,12 @@ private:
++r;
add_label_to_sizer (table, _panel, _("Activity log file"), true, wxGBPosition (r, 0));
- _activity_log_file = new FilePickerCtrl (_panel, _("Select activity log file"), "*", true, true);
+ _activity_log_file = new FilePickerCtrl (_panel, _("Select activity log file"), "*", false, true);
table->Add (_activity_log_file, wxGBPosition(r, 1));
++r;
add_label_to_sizer (table, _panel, _("Debug log file"), true, wxGBPosition (r, 0));
- _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", true, true);
+ _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", false, true);
table->Add (_debug_log_file, wxGBPosition(r, 1));
++r;