diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-03-29 23:52:29 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-03-29 23:52:29 +0100 |
| commit | 61c2b798becff0c5b479f399f48fb0387ada4703 (patch) | |
| tree | 57099b08df171a8a789fd36209267f5c9609c6db /test/color_chooser.cxx | |
| parent | 5dd1062df53c747339b875c8cb0c13df576ad4b8 (diff) | |
Adding missing `override`s
Diffstat (limited to 'test/color_chooser.cxx')
| -rw-r--r-- | test/color_chooser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index f5c9827cc..3b62fa059 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -89,7 +89,7 @@ class Image_Box: public Fl_Box { public: Image_Box(int x, int y, int w, int h, const char *label = nullptr) : Fl_Box(x, y, w, h, label) { } - int handle(int event) { + int handle(int event) override { if (event == FL_BEFORE_TOOLTIP) { const char *color_name_lut[] = { "blue", "green", "black", "red" }; int quadrant = (Fl::event_x() < x()+w()/2) + 2*(Fl::event_y() < y()+h()/2); |
