summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 16:44:27 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-16 17:57:18 +0200
commitab55554e4531e35dc045405b347723c0016bcfc0 (patch)
tree9dae22ee0dced68b03598e15ac8061410766a064
parentbd7937ad88210348e515b5cd886626ede7a0b798 (diff)
Remove C++17-ism.
-rw-r--r--src/wx/grok/gpu_config_panel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/grok/gpu_config_panel.h b/src/wx/grok/gpu_config_panel.h
index 87af69ef4..d3088c924 100644
--- a/src/wx/grok/gpu_config_panel.h
+++ b/src/wx/grok/gpu_config_panel.h
@@ -56,7 +56,8 @@ public:
}
private:
- void OnComboBox([[maybe_unused]] wxCommandEvent& event) {
+ void OnComboBox(wxCommandEvent&)
+ {
selection = comboBox->GetSelection();
if (selection != wxNOT_FOUND)
Config::instance ()->set_selected_gpu(selection);