wxRect --> wx.Rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
41e8a69cdb
commit
a38c690323
@ -74,7 +74,7 @@ def _ColToRect(self,col):
|
||||
if self.GetNumberRows() > 0:
|
||||
rect = self.CellToRect(0,col)
|
||||
else:
|
||||
rect = wxRect()
|
||||
rect = wx.Rect()
|
||||
rect.height = self.GetColLabelSize()
|
||||
rect.width = self.GetColSize(col)
|
||||
|
||||
@ -91,7 +91,7 @@ def _RowToRect(self,row):
|
||||
if self.GetNumberCols() > 0:
|
||||
rect = self.CellToRect(row,0)
|
||||
else:
|
||||
rect = wxRect()
|
||||
rect = wx.Rect()
|
||||
rect.width = self.GetRowLabelSize()
|
||||
rect.height = self.GetRowSize(row)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user