From 738ac30f618ac95e717cc5f1d600c1a7a6277c50 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 2 Aug 2010 09:22:04 -0400 Subject: [PATCH] Rename _on_mouse_over -> _on_motion in panel.propertyeditor --- hooke/ui/gui/panel/propertyeditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooke/ui/gui/panel/propertyeditor.py b/hooke/ui/gui/panel/propertyeditor.py index 2d22e45..ab2518d 100644 --- a/hooke/ui/gui/panel/propertyeditor.py +++ b/hooke/ui/gui/panel/propertyeditor.py @@ -219,9 +219,9 @@ class PropertyPanel(Panel, wx.grid.Grid): self.SetColLabelValue(0, 'value') self._last_tooltip = None - self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_mouse_over) + self.GetGridWindow().Bind(wx.EVT_MOTION, self._on_motion) - def _on_mouse_over(self, event): + def _on_motion(self, event): """Enable tooltips. """ x,y = self.CalcUnscrolledPosition(event.GetPosition()) -- 2.26.2