From 7db3ffecc980821ada3e805e2471716896e2410a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 3 Jan 2003 06:55:04 +0000 Subject: you can bind buttons already about, and itll replace them --- src/bindings.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bindings.hh') diff --git a/src/bindings.hh b/src/bindings.hh index 5d1df29b..1ca46df7 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -52,9 +52,9 @@ typedef struct KeyBindingTree { typedef struct ButtonBinding { Binding binding; - typedef std::list CallbackList; - CallbackList callback[NUM_MOUSE_ACTION]; + PyObject *callback[NUM_MOUSE_ACTION]; ButtonBinding() : binding(0, 0) { + for(int i=0; i