Make GetItemImage API consistent with other trees

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-03-08 19:21:39 +00:00
parent 0138e546f4
commit 236a17eb09

View File

@@ -2373,7 +2373,7 @@ class CustomTreeCtrl(wx.PyScrolledWindow):
return item.GetText()
def GetItemImage(self, item, which):
def GetItemImage(self, item, which=TreeItemIcon_Normal):
"""Returns the item image."""
if not item:
@@ -5747,4 +5747,4 @@ class CustomTreeCtrl(wx.PyScrolledWindow):
GetClassDefaultAttributes = classmethod(GetClassDefaultAttributes)