[hdf-compass] 221/295: unified behavior wx.ID_CLOSE and wx.EVT_CLOSE

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit 2ee9f06489e3fbcf7f8803a9711a80150db31ad2
Author: giumas <giumas at yahoo.it>
Date:   Mon Nov 2 20:19:40 2015 -0500

    unified behavior wx.ID_CLOSE and wx.EVT_CLOSE
---
 hdf_compass/compass_viewer/frame.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hdf_compass/compass_viewer/frame.py b/hdf_compass/compass_viewer/frame.py
index a868d9b..a83924f 100644
--- a/hdf_compass/compass_viewer/frame.py
+++ b/hdf_compass/compass_viewer/frame.py
@@ -122,6 +122,7 @@ class BaseFrame(wx.Frame):
         self.Bind(wx.EVT_MENU, self.on_manual, id=wx.ID_HELP)
         self.Bind(wx.EVT_MENU, self.on_about, id=wx.ID_ABOUT)
         self.Bind(wx.EVT_MENU, self.on_exit, id=wx.ID_EXIT)
+        self.Bind(wx.EVT_MENU, self.on_close, id=wx.ID_CLOSE)
         self.Bind(wx.EVT_CLOSE, self.on_close)
         self.Bind(wx.EVT_MENU_RANGE, self.on_url_history, id=wx.ID_FILE1, id2=wx.ID_FILE9)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git



More information about the debian-science-commits mailing list