wxSlider Tick Marks

Using: Mac OSX 10.6, Python 2.7.2, wxPython 2.8.12

I have a wxSlider, which uses wxSL_AUTOTICKS to display tickmarks on the slider.
At one point in the running of my program, I change the range of the slider.
The range is properly update, except for the ticks. The ticks don't seem to realize that the range of the slider has updated.

I tried using SetTickFreq to force an update, but that didn't work either.
Is there a way to force update the tick marks?

Thanks,
Daniel

Not that I know of. It looks like several of the C++ methods related to tick marks are not implemented on Mac and it is only in the constructor that anything is done with them. I suppose if all else fails that you could create a new instance of the widget and Destroy the old one.

···

On 9/8/11 2:57 AM, Daniel Fontaine wrote:

Using: Mac OSX 10.6, Python 2.7.2, wxPython 2.8.12

I have a wxSlider, which uses wxSL_AUTOTICKS to display tickmarks on the slider.
At one point in the running of my program, I change the range of the slider.
The range is properly update, except for the ticks. The ticks don't seem to realize that the range of the slider has updated.

I tried using SetTickFreq to force an update, but that didn't work either.
Is there a way to force update the tick marks?

--
Robin Dunn
Software Craftsman