override spline widgets behavior

how to disable mouse right click to delete the spline widget points. (left click drags and right clicks deletes the points)