fix header of spinbox

A function was left out in the header.