]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/tests/gridtest.py
support Show() in wxFlexGridSizer (patch 737850)
[wxWidgets.git] / wxPython / tests / gridtest.py
index c4988db150555efa1add4aa9774c2972b374fc0e..8635051d5c6946654300975c5389caa1ff6b7f7d 100644 (file)
@@ -104,7 +104,7 @@ class MyCellEditor(wxPyGridCellEditor):
         elif key < 256 and key >= 0 and chr(key) in string.printable:
             ch = chr(key)
             if not evt.ShiftDown():
-                ch = string.lower(ch)
+                ch = ch.lower()
 
         if ch is not None:
             # Replace the text.  Other option would be to append it.