PR58: More fixes for Phoenix deprecations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-23 00:20:07 +00:00
parent ea181b5b72
commit 2bf5a267fa
9 changed files with 31 additions and 31 deletions

View File

@@ -253,7 +253,7 @@ class MegaFontRenderer(Grid.GridCellRenderer):
# and colors. We have to set the clipping region on
# the grid's DC, otherwise the text will spill over
# to the next cell
dc.SetClippingRect(rect)
dc.SetClippingRegion(rect)
# clear the background
dc.SetBackgroundMode(wx.SOLID)