X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b73b1b8e585418459362c9bf9173aa21da8c41..a212b7793ae0f811582b842589b4db0fccf15bf4:/wxPython/wx/lib/rightalign.py?ds=sidebyside 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: