plugins/c_ext/CFileEditor.py
changeset 675 44b35c27e9ff
parent 665 aec7aca89f3e
child 708 6ec28dc375cf
--- a/plugins/c_ext/CFileEditor.py	Tue Jan 31 00:41:46 2012 +0100
+++ b/plugins/c_ext/CFileEditor.py	Tue Jan 31 23:28:03 2012 +0100
@@ -882,7 +882,7 @@
         self.SetIcon(wx.BitmapFromImage(img.Rescale(16, 16)))
         
     def __del__(self):
-        self.Controler.OnCloseEditor()
+        self.Controler.OnCloseEditor(self)
     
     def GetTitle(self):
         fullname = self.Controler.PlugFullName()