mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00:07 +01:00
1. Add a substitution of the |SVN| string using subprocess; 2. Add the latest ArtProvider stuff (and replace `ArtID` and `ArtClient` parameter types with `string`). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
19 lines
519 B
Python
19 lines
519 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())
|