How to add custom class in XRC

Oh, Thanks Robin.

···

On Friday, 24 August 2012 18:36:42 UTC-3, Waffle wrote:

Is there a way that I can put my own class in XRC, so I can be able to do something like the following in the .xrc file?

This would be my class:

class myButton(wx.Button):

def init(self,parent):

wx.Button.init(self,parent,-1,“My Special Button”)

Does anyone know how can I do this?