(self, event)
| 88 | self.SetBackgroundStyle(wx.BG_STYLE_PAINT) |
| 89 | |
| 90 | def OnMouseMove(self, event): |
| 91 | mx, my = event.GetPosition() |
| 92 | |
| 93 | location = self.HitTest(mx, my) |
| 94 | if location != self.hoveredItem: |
| 95 | self.hoveredItem = location |
| 96 | self.Refresh() |
| 97 | if location is not None: |
| 98 | self.SetCursor(wx.Cursor(wx.CURSOR_HAND)) |
| 99 | else: |
| 100 | self.SetCursor(wx.Cursor(wx.CURSOR_ARROW)) |
| 101 | |
| 102 | def OnSizeUpdate(self, event): |
| 103 | self.CalcButtonsBarPos() |
nothing calls this directly
no test coverage detected