I've already made other changes that elimiated the need for
"font = parent.GetFont()" but I wonder how passing parent=None
could possibly work. Isn't there an exception raised from
wx.PyControl.__init__?
I've now realised that the error I was getting was a side effect of one of
the bugs that Alberto has now fixed. Please disregard my original message.
cheers,
Richard