diff --git a/src/gui/ContextMenu.hxx b/src/gui/ContextMenu.hxx index edbbf0d15..e4772cfe2 100644 --- a/src/gui/ContextMenu.hxx +++ b/src/gui/ContextMenu.hxx @@ -97,7 +97,7 @@ class ContextMenu : public Dialog, public CommandSender void handleJoyUp(int stick, int button) override; void handleJoyAxis(int stick, JoyAxis axis, JoyDir adir, int button) override; bool handleJoyHat(int stick, int hat, JoyHatDir hdir, int button) override; - void handleEvent(Event::Type e); + void handleEvent(Event::Type e) override; void setArrows(); void drawDialog() override; diff --git a/src/gui/Dialog.hxx b/src/gui/Dialog.hxx index 1ea2e3257..921ff3c50 100644 --- a/src/gui/Dialog.hxx +++ b/src/gui/Dialog.hxx @@ -168,7 +168,7 @@ class Dialog : public GuiObject virtual void handleJoyUp(int stick, int button); virtual void handleJoyAxis(int stick, JoyAxis axis, JoyDir adir, int button = JOY_CTRL_NONE); virtual bool handleJoyHat(int stick, int hat, JoyHatDir hdir, int button = JOY_CTRL_NONE); - virtual void handleEvent(Event::Type event) {}; + virtual void handleEvent(Event::Type event) {} void handleCommand(CommandSender* sender, int cmd, int data, int id) override; virtual Event::Type getJoyAxisEvent(int stick, JoyAxis axis, JoyDir adir, int button);