mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
19 lines
497 B
Python
19 lines
497 B
Python
|
|
class MyProvider(wx.ArtProvider):
|
|
|
|
def CreateBitmap(self, id, client, size):
|
|
|
|
# Your implementation of CreateBitmap here
|
|
pass
|
|
|
|
|
|
# optionally override this one as well
|
|
def CreateIconBundle(self, id, client):
|
|
|
|
# Your implementation of CreateIconBundle here
|
|
pass
|
|
|
|
|
|
# Later on...
|
|
wx.ArtProvider.Push(MyProvider())
|