From e81b57863b28de4e7b0f4e24a86e7c6b2df12507 Mon Sep 17 00:00:00 2001 From: wernerfb Date: Mon, 6 Jul 2015 14:27:20 +0200 Subject: [PATCH] DrawRectangleRect is replaced with DrawRectangle --- demo/Grid_MegaExample.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/Grid_MegaExample.py b/demo/Grid_MegaExample.py index 459941c7..332693b5 100644 --- a/demo/Grid_MegaExample.py +++ b/demo/Grid_MegaExample.py @@ -220,7 +220,7 @@ class MegaImageRenderer(Grid.GridCellRenderer): else: dc.SetBrush(wx.Brush(wx.WHITE, wx.BRUSHSTYLE_SOLID)) dc.SetPen(wx.Pen(wx.WHITE, 1, wx.PENSTYLE_SOLID)) - dc.DrawRectangleRect(rect) + dc.DrawRectangle(rect) # copy the image but only to the size of the grid cell @@ -265,7 +265,7 @@ class MegaFontRenderer(Grid.GridCellRenderer): else: dc.SetBrush(wx.Brush(wx.WHITE, wx.BRUSHSTYLE_SOLID)) dc.SetPen(wx.Pen(wx.WHITE, 1, wx.PENSTYLE_SOLID)) - dc.DrawRectangleRect(rect) + dc.DrawRectangle(rect) text = self.table.GetValue(row, col) dc.SetBackgroundMode(wx.SOLID)