new DC API fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-01-13 03:25:58 +00:00
parent 95bfd958bd
commit 35095c028d

View 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: