From 6f5e60f0337e60d904a8f549aeaa631afefc8033 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 16 Nov 2002 09:59:37 +0000 Subject: fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons --- otk/eventhandler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otk/eventhandler.hh') 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;} -- cgit v1.2.3