def _get_sash_DC(self): dc = wx.ClientDC(self) dc.SetPen(wx.TRANSPARENT_PEN) dc.SetBrush(wx.Brush(self.sashColor)) return dc