]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup
authorRobin Dunn <robin@alldunn.com>
Thu, 18 Oct 2001 19:12:47 +0000 (19:12 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 18 Oct 2001 19:12:47 +0000 (19:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/wxStyledTextCtrl_2.py

index 2b102cc294871cac09d11ce1cf7229995377611c..aefd323557ce4314adf435d18faae585baeb60d2 100644 (file)
@@ -141,15 +141,14 @@ class PythonSTC(wxStyledTextCtrl):
                 kw.append("aaaaa")
                 kw.append("__init__")
                 kw.append("zzaaaaa")
-                kw.append("zZaaaaa")
+                kw.append("zzbaaaa")
                 kw.append("this_is_a_longer_value")
                 kw.append("this_is_a_much_much_much_much_much_much_much_longer_value")
 
-                #kw.sort()
+                kw.sort()  # Python sorts are case sensitive
+                self.AutoCompSetIgnoreCase(false)  # so this needs to match
 
-                self.AutoCompSetIgnoreCase(true)
                 self.AutoCompShow(0, string.join(kw))
-                #self.AutoCompSelect('br')
         else:
             event.Skip()