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:
parent
95bfd958bd
commit
35095c028d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user