graphics/RubberBand.py
branchwxPython4
changeset 3303 0ffb41625592
parent 1881 091005ec69c4
child 3306 841fb2ee1213
equal deleted inserted replaced
3302:c89fc366bebd 3303:0ffb41625592
    92         # Initialize rubberband bounding box
    92         # Initialize rubberband bounding box
    93         self.CurrentBBox = wx.Rect(self.StartPoint.x, self.StartPoint.y, 0, 0)
    93         self.CurrentBBox = wx.Rect(self.StartPoint.x, self.StartPoint.y, 0, 0)
    94 
    94 
    95         # Change viewer mouse cursor to reflect a rubberband bounding box is
    95         # Change viewer mouse cursor to reflect a rubberband bounding box is
    96         # edited
    96         # edited
    97         self.DrawingSurface.SetCursor(wx.StockCursor(wx.CURSOR_CROSS))
    97         self.DrawingSurface.SetCursor(wx.Cursor(wx.CURSOR_CROSS))
    98 
    98 
    99         self.Redraw()
    99         self.Redraw()
   100 
   100 
   101     def OnMotion(self, event, dc, scaling):
   101     def OnMotion(self, event, dc, scaling):
   102         """
   102         """