wx.SpinCtrl with Validator

Hey All,

I'm trying to build a custom composite control that takes a validator,
but not having too much luck.

The reason for needing this is I want to use the TransferToWindow and
TransferFromWindow features of a validator to manage the value of a
SpinCtrl, but the wx.SpinCtrl does not accept a validator.

What do I need to derive my composite control from to be able to lay out
the sub-controls, and then what functions do I need to provide and what
other steps must be taken for this to work.

I've started by deriving my control from wx.Panel, including calling
InitDialog() from the constructor, but I don't know what function names
need to be provided.

Any clues?

Regards
Darryl