I\'d like to make a custom button in wxPython. Where should I start, how should I do it?
You can extend the default button class, like this for example:
class RedButton(wx.Button):
def __init__(self, *a, **k):
wx.Button.__init__(self, *a, **k)
self.SetBackgroundColour('RED')
# more customization here
Every time you put a RedButton into your layout, it should appear red (haven't tested it though).