# with associated widgets.
self.SetFocus()
- return True
def OnDestroy(self, event):
oldpen = dc.GetPen()
dc.SetPen(wx.TRANSPARENT_PEN)
- x, y = self.GetPosition()
+ x = 0
w, h = self.GetSize()
itemrect = wx.Rect(x, item.GetY()+offset, w, total_h-offset)