diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 16:44:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-29 21:19:56 +0100 |
| commit | dcef8110473a8d83affcd88c8877f71bf927e280 (patch) | |
| tree | 9a19561ef903f3f38deb85448784e64d3e348edf | |
| parent | 37ee1bdf2cab414e0b2e6acae81e29b99d1d6804 (diff) | |
Remove C++17-ism.
| -rw-r--r-- | src/wx/grok/gpu_config_panel.h | 3 |
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); |
