]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridStdEdRend.py
Cancel the timer and show the main frame immediately if the
[wxWidgets.git] / wxPython / demo / GridStdEdRend.py
index 6b5110a3f25651562c94c5f32557fcc32ad01ef2..6a89c3e122ec869c235524aa632fa14160a65716 100644 (file)
@@ -26,7 +26,7 @@ class MyCustomRenderer(gridlib.PyGridCellRenderer):
 
         for ch in text:
             dc.SetTextForeground(random.choice(colors))
-            dc.DrawText(ch, (x, y))
+            dc.DrawText(ch, x, y)
             w, h = dc.GetTextExtent(ch)
             x = x + w
             if x > rect.right - 5: