From 236a17eb099251a4c09f53daf205e125e1b87e2f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 8 Mar 2007 19:21:39 +0000 Subject: [PATCH] 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 --- wxPython/wx/lib/customtreectrl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/wx/lib/customtreectrl.py b/wxPython/wx/lib/customtreectrl.py index 842ebe5e24..37949d0400 100644 --- a/wxPython/wx/lib/customtreectrl.py +++ b/wxPython/wx/lib/customtreectrl.py @@ -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) - \ No newline at end of file +