controls/DebugVariablePanel/DebugVariableTextViewer.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3764 d92c1a3dafa7
child 3871 5d23a47937c4
equal deleted inserted replaced
3764:d92c1a3dafa7 3765:88fe6fc9fd38
    48         @param window: Reference to the Debug Variable Panel
    48         @param window: Reference to the Debug Variable Panel
    49         """
    49         """
    50         wx.TextDropTarget.__init__(self)
    50         wx.TextDropTarget.__init__(self)
    51         self.ParentControl = parent
    51         self.ParentControl = parent
    52         self.ParentWindow = window
    52         self.ParentWindow = window
    53 
       
    54     def __del__(self):
       
    55         """
       
    56         Destructor
       
    57         """
       
    58         # Remove reference to Debug Variable Text Viewer and Debug Variable
       
    59         # Panel
       
    60         self.ParentControl = None
       
    61         self.ParentWindow = None
       
    62 
    53 
    63     def OnDragOver(self, x, y, d):
    54     def OnDragOver(self, x, y, d):
    64         """
    55         """
    65         Function called when mouse is dragged over Drop Target
    56         Function called when mouse is dragged over Drop Target
    66         @param x: X coordinate of mouse pointer
    57         @param x: X coordinate of mouse pointer