class MarkupButton(MultiStateButton): """ Just like MultiStateButton, except that it uses wx.GetApp().GetImage as the proviider of bitmaps. """ def __init__(self, parent, ID=-1, multibitmaps=(), bitmapProvider=wx.GetApp().GetImage, *args, **kwds): super(MarkupButton, self).__init__(parent, *args, **kwds)