X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/GridStdEdRend.py?ds=sidebyside diff --git a/wxPython/demo/GridStdEdRend.py b/wxPython/demo/GridStdEdRend.py index 6b5110a3f2..6a89c3e122 100644 --- a/wxPython/demo/GridStdEdRend.py +++ b/wxPython/demo/GridStdEdRend.py @@ -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: