controls/DebugVariablePanel/DebugVariablePanel.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3750 f62625418bff
equal deleted inserted replaced
3764:d92c1a3dafa7 3765:88fe6fc9fd38
    89         Constructor
    89         Constructor
    90         @param window: Reference to the Debug Variable Panel
    90         @param window: Reference to the Debug Variable Panel
    91         """
    91         """
    92         wx.TextDropTarget.__init__(self)
    92         wx.TextDropTarget.__init__(self)
    93         self.ParentWindow = window
    93         self.ParentWindow = window
    94 
       
    95     def __del__(self):
       
    96         """
       
    97         Destructor
       
    98         """
       
    99         # Remove reference to Debug Variable Panel
       
   100         self.ParentWindow = None
       
   101 
    94 
   102     def OnDragOver(self, x, y, d):
    95     def OnDragOver(self, x, y, d):
   103         """
    96         """
   104         Function called when mouse is dragged over Drop Target
    97         Function called when mouse is dragged over Drop Target
   105         @param x: X coordinate of mouse pointer
    98         @param x: X coordinate of mouse pointer