This code simply doesn't work:
self.scale_ctrl = wx.Slider(self, size=(120,-1), style=wx.SL_AUTOTICKS)
self.scale_ctrl.SetMin(0)
self.scale_ctrl.SetMax(16)
self.scale_ctrl.SetTickFreq(4, 1)
for x in [0, 4, 8, 12, 16] :
self.scale_ctrl.SetTick(x)
I've tried different variations on this, and nothing works - either I
get no ticks (if I leave out wx.SL_AUTOTICKS), or a tick at every
increment on the slider. Is this simply broken, or is there an
obvious detail I'm mising?
thanks,
Nat