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
This commit is contained in:
Andrea Gavana
2012-04-08 11:13:07 +00:00
parent c08c2d64e2
commit e262cef61a
10 changed files with 81 additions and 21 deletions

View File

@@ -2,6 +2,7 @@
.. _stock items:
.. _stock id list:
===============================================
|phoenix_title| **Stock items**

View File

@@ -0,0 +1,18 @@
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())

View File

@@ -0,0 +1,4 @@
if wx.Platform == '__WXGTK__':
bmp = wx.ArtProvider.GetBitmap("gtk-cdrom", wx.ART_MENU)

View File

@@ -0,0 +1,23 @@
============================================ ======================================= ==================================
- ``ART_ERROR`` - ``ART_GOTO_LAST`` (since 2.9.2) - ``ART_FILE_SAVE_AS``
- ``ART_QUESTION`` - ``ART_PRINT`` - ``ART_DELETE``
- ``ART_WARNING`` - ``ART_HELP`` - ``ART_COPY``
- ``ART_INFORMATION`` - ``ART_TIP`` - ``ART_CUT``
- ``ART_ADD_BOOKMARK`` - ``ART_REPORT_VIEW`` - ``ART_PASTE``
- ``ART_DEL_BOOKMARK`` - ``ART_LIST_VIEW`` - ``ART_UNDO``
- ``ART_HELP_SIDE_PANEL`` - ``ART_NEW_DIR`` - ``ART_REDO``
- ``ART_HELP_SETTINGS`` - ``ART_FOLDER`` - ``ART_PLUS`` (since 2.9.2)
- ``ART_HELP_BOOK`` - ``ART_FOLDER_OPEN`` - ``ART_MINUS`` (since 2.9.2)
- ``ART_HELP_FOLDER`` - ``ART_GO_DIR_UP`` - ``ART_CLOSE``
- ``ART_HELP_PAGE`` - ``ART_EXECUTABLE_FILE`` - ``ART_QUIT``
- ``ART_GO_BACK`` - ``ART_NORMAL_FILE`` - ``ART_FIND``
- ``ART_GO_FORWARD`` - ``ART_TICK_MARK`` - ``ART_FIND_AND_REPLACE``
- ``ART_GO_UP`` - ``ART_CROSS_MARK`` - ``ART_HARDDISK``
- ``ART_GO_DOWN`` - ``ART_MISSING_IMAGE`` - ``ART_FLOPPY``
- ``ART_GO_TO_PARENT`` - ``ART_NEW`` - ``ART_CDROM``
- ``ART_GO_HOME`` - ``ART_FILE_OPEN``
- ``ART_GOTO_FIRST`` (since 2.9.2) - ``ART_FILE_SAVE``
============================================ ======================================= ==================================
|