def SetSize(self, rect):
        "Called to position/size the edit control within the cell rectangle."
        self._tc.SetDimensions(rect.x, rect.y, rect.width+2, rect.height+2,
                               wx.SIZE_ALLOW_MINUS_ONE)
Called to position/size the edit control within the cell rectangle.