X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f27895d28959ea2d8ddf4c2c5b5ad3958bcaadb4..e6c46ffefb1c6875e2afe0fce9823b254bdb40ea:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 5a3d473373..0598adb064 100644 --- 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