summaryrefslogtreecommitdiff
path: root/test/menubar.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-29 23:52:29 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-29 23:52:29 +0100
commit61c2b798becff0c5b479f399f48fb0387ada4703 (patch)
tree57099b08df171a8a789fd36209267f5c9609c6db /test/menubar.cxx
parent5dd1062df53c747339b875c8cb0c13df576ad4b8 (diff)
Adding missing `override`s
Diffstat (limited to 'test/menubar.cxx')
-rw-r--r--test/menubar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/menubar.cxx b/test/menubar.cxx
index 2aeec991c..6cf22458a 100644
--- a/test/menubar.cxx
+++ b/test/menubar.cxx
@@ -240,7 +240,7 @@ class Dynamic_Choice: public Fl_Choice {
public:
Dynamic_Choice(int x, int y, int w, int h, const char *label=nullptr)
: Fl_Choice(x, y, w, h, label) { }
- int handle(int event) {
+ int handle(int event) override {
static int flip_flop = 0;
if (event == FL_BEFORE_MENU) {
// The following line is legal because we used `copy()` to create a