}
}
-void OBBindings::fireButton(ButtonData *data)
+void OBBindings::fireButton(MouseData *data)
{
if (data->context == MC_Window) {
// these are grabbed in Sync mode to allow the press to be normal to the
CallbackList::iterator c_it,c_end = (*it)->callbacks[data->action].end();
for (c_it = (*it)->callbacks[data->action].begin();
c_it != c_end; ++c_it)
- python_callback(*c_it, (PyObject*)data);
+ python_callback(*c_it, data);
}
}