]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/rightalign.py
Fixed typo
[wxWidgets.git] / wxPython / wx / lib / rightalign.py
index 646b7505c95431ec02063baefc78aecf68c0da86..69723c37a6547ebc44bf881a6b5eaad7aedbbf3a 100644 (file)
@@ -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: