Names a new function to handle mouse events. If there was already a function mapped to this name, it will be overridden. The namespaces for key and mouse event handlers are separate.
The form of a wxMouseFunction is:
typedef Bool (*wxMouseFunction) (wxMediaBuffer *edit, wxMouseEvent& event, void *data)
The data pointer is passed on to the wxMouseFunction function when it is invoked. Although a mouse function is invoked because it is mapped to a particular button-down event, the wxMouseFunction function will be called on the entire sequence of button-down, dragging, and button-up events. If the function is invoked and returns FALSE, then the event will be handled by the default handler (defined in the object using the keymap).