Remove ._on_notebook_page_close binding for the removed notebook GUI panel.
authorW. Trevor King <wking@drexel.edu>
Mon, 23 Aug 2010 13:19:51 +0000 (09:19 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 23 Aug 2010 13:19:51 +0000 (09:19 -0400)
hooke/ui/gui/__init__.py

index 622abee..c96e78c 100644 (file)
@@ -244,7 +244,6 @@ class HookeFrame (wx.Frame):
         self.Bind(wx.EVT_SIZE, self._on_size)
         self.Bind(wx.EVT_CLOSE, self._on_close)
         self.Bind(aui.EVT_AUI_PANE_CLOSE, self._on_pane_close)
-        self.Bind(aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self._on_notebook_page_close)
 
         return # TODO: cleanup
         treeCtrl = self._c['folders'].GetTreeCtrl()