mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user