_player_mode = new wxChoice (_panel, wxID_ANY);
_player_mode->Append (_("window"));
_player_mode->Append (_("full screen"));
_player_mode = new wxChoice (_panel, wxID_ANY);
_player_mode->Append (_("window"));
_player_mode->Append (_("full screen"));
++r;
add_label_to_sizer (table, _panel, _("Debug log file"), true, wxGBPosition (r, 0));
++r;
add_label_to_sizer (table, _panel, _("Debug log file"), true, wxGBPosition (r, 0));
- _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", false, true);
+ _debug_log_file = new FilePickerCtrl(_panel, _("Select debug log file"), "*", false, true, "DebugLogPath");
/// TRANSLATORS: translate the word "Timing" here; do not include the "Config|" prefix
_log_timing = new CheckBox (_panel, S_("Config|Timing"));
t->Add (_log_timing, 1, wxEXPAND | wxALL);
/// TRANSLATORS: translate the word "Timing" here; do not include the "Config|" prefix
_log_timing = new CheckBox (_panel, S_("Config|Timing"));
t->Add (_log_timing, 1, wxEXPAND | wxALL);
table->Add (t, 0, wxALL, 6);
}
table->Add (t, 0, wxALL, 6);
}
_log_warning->bind(&PlayerAdvancedPage::log_changed, this);
_log_error->bind(&PlayerAdvancedPage::log_changed, this);
_log_timing->bind(&PlayerAdvancedPage::log_changed, this);
_log_warning->bind(&PlayerAdvancedPage::log_changed, this);
_log_error->bind(&PlayerAdvancedPage::log_changed, this);
_log_timing->bind(&PlayerAdvancedPage::log_changed, this);
checked_set (_log_warning, config->log_types() & LogEntry::TYPE_WARNING);
checked_set (_log_error, config->log_types() & LogEntry::TYPE_ERROR);
checked_set (_log_timing, config->log_types() & LogEntry::TYPE_TIMING);
checked_set (_log_warning, config->log_types() & LogEntry::TYPE_WARNING);
checked_set (_log_error, config->log_types() & LogEntry::TYPE_ERROR);
checked_set (_log_timing, config->log_types() & LogEntry::TYPE_TIMING);