summaryrefslogtreecommitdiff
path: root/otk/eventhandler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/eventhandler.hh')
-rw-r--r--otk/eventhandler.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh
index 000efb53..ea273ef4 100644
--- a/otk/eventhandler.hh
+++ b/otk/eventhandler.hh
@@ -10,7 +10,7 @@ namespace otk {
class OtkEventHandler{
public:
//! Dispatches events to one of the other handlers based on their type.
- int handle(const XEvent &e);
+ virtual int handle(const XEvent &e);
//! Called whenever any key is pressed.
virtual int keyPressHandler(const XKeyEvent &) {return 1;}