projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12cc29c
)
Make sure both filter and item text are converted to lower-case, otherwise only lower...
author
Kevin Ollivier
<kevino@theolliviers.com>
Sat, 18 Nov 2006 23:22:22 +0000
(23:22 +0000)
committer
Kevin Ollivier
<kevino@theolliviers.com>
Sat, 18 Nov 2006 23:22:22 +0000
(23:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43502
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/demo/Main.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/demo/Main.py
b/wxPython/demo/Main.py
index 5a3d4733735a189f9e13f665dc2773000d6598f2..0598adb064a3e9ddfad7ba389fdf4adb02d4f716 100644
(file)
--- a/
wxPython/demo/Main.py
+++ b/
wxPython/demo/Main.py
@@
-1369,7
+1369,7
@@
class wxPythonDemo(wx.Frame):
filter = self.filter.GetValue()
for category, items in _treeList:
if filter:
- items = [item for item in items if filter in item.lower()]
+ items = [item for item in items if filter
.lower()
in item.lower()]
if items:
child = self.tree.AppendItem(self.root, category)
if not firstChild: firstChild = child