diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 16:44:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:57 +0100 |
| commit | 0a8bc96b4211eebfffaeebe8a24909aa3159d082 (patch) | |
| tree | 1b2df9306e603437377f4b56bd49582ddde68722 | |
| parent | 25380b10b9530f6ba9f90e0e6b0be6d454ad2787 (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); |
