mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
DrawRectangleRect is replaced with DrawRectangle
This commit is contained in:
@@ -33,7 +33,7 @@ class MyColLabelRenderer(glr.GridLabelRenderer):
|
||||
def Draw(self, grid, dc, rect, col):
|
||||
dc.SetBrush(wx.Brush(self._bgcolor))
|
||||
dc.SetPen(wx.TRANSPARENT_PEN)
|
||||
dc.DrawRectangleRect(rect)
|
||||
dc.DrawRectangle(rect)
|
||||
hAlign, vAlign = grid.GetColLabelAlignment()
|
||||
text = grid.GetColLabelValue(col)
|
||||
self.DrawBorder(grid, dc, rect)
|
||||
|
||||
Reference in New Issue
Block a user