controls/DebugVariablePanel/DebugVariablePanel.py
branchpython3
changeset 3765 88fe6fc9fd38
parent 3750 f62625418bff
--- a/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Oct 28 18:59:04 2022 +0800
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Oct 28 19:39:17 2022 +0800
@@ -92,13 +92,6 @@
         wx.TextDropTarget.__init__(self)
         self.ParentWindow = window
 
-    def __del__(self):
-        """
-        Destructor
-        """
-        # Remove reference to Debug Variable Panel
-        self.ParentWindow = None
-
     def OnDragOver(self, x, y, d):
         """
         Function called when mouse is dragged over Drop Target