(self, event)
| 168 | self.HandleMouseEvent(event) |
| 169 | |
| 170 | def OnRightDown(self, event): |
| 171 | self._right = True |
| 172 | self.SetToolTip(None) |
| 173 | self.Bind(wx.EVT_RIGHT_UP, self.OnRightUp) |
| 174 | self.Bind(wx.EVT_MOUSE_CAPTURE_LOST, self.OnRightUp) |
| 175 | if not self._left: |
| 176 | self.Bind(wx.EVT_MOTION, self.OnMotion) |
| 177 | if not self.HasCapture(): |
| 178 | self.CaptureMouse() |
| 179 | self.HandleMouseEvent(event) |
| 180 | |
| 181 | def OnLeftUp(self, event): |
| 182 | self.HandleMouseEvent(event) |
nothing calls this directly
no test coverage detected