Timothy Grant wrote:
As a SpinCtrl appears to be a TextCtrl with the up and down arrows added I expected the following to work...
It may or may not be implemented that way however. For example on MSW the spin ctrl is just using a native text edit field, not a wx.TextCtrl.
self.LevelSpinCtrl = wx.SpinCtrl(self, size=(50,-1), style=wx.TE_RIGHT)
Am I doing something wrong or is it not supported?
It's not supported, although I agree it would be expected. You can of course implement your own spinctrl-like thing using a wx.TextCtrl and a spin button, and then you'll have more control over it.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!