mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-27 22:20:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
19 lines
462 B
Python
19 lines
462 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())
|