graphics/FBD_Objects.py
changeset 1753 19f19c66b67e
parent 1744 69dfdb26f600
child 1761 8c98bad90b8d
--- a/graphics/FBD_Objects.py	Wed Aug 16 13:01:13 2017 +0300
+++ b/graphics/FBD_Objects.py	Wed Aug 16 13:49:02 2017 +0300
@@ -380,17 +380,17 @@
             handle.SetEdge(edge)
             self.RefreshModel(False)
 
-##    # Method called when a Motion event have been generated
-##    def OnMotion(self, event, dc, scaling):
-##        if not event.Dragging():
-##            pos = event.GetLogicalPosition(dc)
-##            for input in self.Inputs:
-##                rect = input.GetRedrawRect()
-##                if rect.InsideXY(pos.x, pos.y):
-##                    print "Find input"
-##                    tip = wx.TipWindow(self.Parent, "Test")
-##                    tip.SetBoundingRect(rect)
-##        return Graphic_Element.OnMotion(self, event, dc, scaling)
+#    # Method called when a Motion event have been generated
+#    def OnMotion(self, event, dc, scaling):
+#        if not event.Dragging():
+#            pos = event.GetLogicalPosition(dc)
+#            for input in self.Inputs:
+#                rect = input.GetRedrawRect()
+#                if rect.InsideXY(pos.x, pos.y):
+#                    print "Find input"
+#                    tip = wx.TipWindow(self.Parent, "Test")
+#                    tip.SetBoundingRect(rect)
+#        return Graphic_Element.OnMotion(self, event, dc, scaling)
 
     # Method called when a LeftDClick event have been generated
     def OnLeftDClick(self, event, dc, scaling):