code: def add_intspin(self, setting):
          '''add a spin control'''
          tab = self.panel(setting.tab)
          default = setting.value
          (minv, maxv) = setting.range
          ctrl = wx.SpinCtrl(tab, -1,
                             initial = default,
                             min = minv,
                             max = maxv)
          self._add_input(setting, ctrl, value=defaultf add_intspin(self, setting):
          '''add a spin control'''
          tab = self.panel(setting.tab)
          default = setting.value
          (minv, maxv) = setting.range
          ctrl = wx.SpinCtrl(tab, -1,
                             initial = default,
                             min = minv,
                             max = maxv)
          self._add_input(setting, ctrl, value=default)
docs: add a spin control