Fixed sort bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@ class FillingTree(wx.TreeCtrl):
|
||||
if not children:
|
||||
return
|
||||
keys = children.keys()
|
||||
keys.sort(lambda x, y: cmp(x.lower(), y.lower()))
|
||||
keys.sort(lambda x, y: cmp(str(x).lower(), str(y).lower()))
|
||||
for key in keys:
|
||||
itemtext = str(key)
|
||||
# Show string dictionary items with single quotes, except
|
||||
|
Reference in New Issue
Block a user