summaryrefslogtreecommitdiff
path: root/otk/eventhandler.hh
diff options
context:
space:
mode:
authorMarius Nita <marius@cs.pdx.edu>2002-11-16 09:59:37 +0000
committerMarius Nita <marius@cs.pdx.edu>2002-11-16 09:59:37 +0000
commit6f5e60f0337e60d904a8f549aeaa631afefc8033 (patch)
tree2060d3507234f518d6540486e8567cae78036b2c /otk/eventhandler.hh
parent0680daeef57748af17e0462def4852d408a62eb6 (diff)
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons
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;}