diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 16:44:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-12-16 02:07:38 +0100 |
| commit | 8dcff3ba8133f8b392c047706f4f3716bbbee261 (patch) | |
| tree | da3fe1c8aa25e6498fe3eb65ba59a810bdcaecd2 | |
| parent | 303371f38971b4fcca2f6e35c5cf6ef23ac3f4db (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); |
