Demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-19 03:42:34 +00:00
parent d4507593e1
commit 80977b9444
2 changed files with 7 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ class TestTreeCtrlPanel(wxPanel):
self.tree.SetPyData(last, None)
self.tree.SetItemImage(last, fldridx, wxTreeItemIcon_Normal)
self.tree.SetItemImage(last, fldropenidx, wxTreeItemIcon_Expanded)
for z in range(500):
for z in range(5):
item = self.tree.AppendItem(last, "item %d-%s-%d" % (x, chr(ord("a")+y), z))
self.tree.SetPyData(item, None)
self.tree.SetItemImage(item, fileidx, wxTreeItemIcon_Normal)