You can set its event to NULL with pan_setbutton.

http://www.conitec.net/beta/pan_setbutton.htm


Always learn from history, to be sure you make the same mistakes again...