From 35095c028d472a2d0b9607a9430a468765a16e3f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 13 Jan 2004 03:25:58 +0000 Subject: [PATCH] new DC API fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/rightalign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wx/lib/rightalign.py b/wxPython/wx/lib/rightalign.py index 646b7505c9..69723c37a6 100644 --- a/wxPython/wx/lib/rightalign.py +++ b/wxPython/wx/lib/rightalign.py @@ -88,7 +88,7 @@ class RightTextCtrl(wx.TextCtrl): dc.SetTextForeground(fclr) - dc.SetClippingRegion(0, 0, dcwidth, dcheight) + dc.SetClippingRegion((0, 0), (dcwidth, dcheight)) dc.DrawText(text, (x, y)) if x < 0: -- 2.47.2