mailr14703 - /1.3/gui/analyses/__init__.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 19, 2011 - 21:59:
Author: bugman
Date: Mon Sep 19 21:59:01 2011
New Revision: 14703

URL: http://svn.gna.org/viewcvs/relax?rev=14703&view=rev
Log:
Bug fix for the switching between analysis tabs on MS Windows.

The tab had not been changed when on_page_change() was being called (in 
contrast to GNU/Linux and
Mac OS X).  Now wx.EVT_NOTEBOOK_PAGE_CHANGED is being used to bind the page 
change event rather than
wx.EVT_NOTEBOOK_PAGE_CHANGING.


Modified:
    1.3/gui/analyses/__init__.py

Modified: 1.3/gui/analyses/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/__init__.py?rev=14703&r1=14702&r2=14703&view=diff
==============================================================================
--- 1.3/gui/analyses/__init__.py (original)
+++ 1.3/gui/analyses/__init__.py Mon Sep 19 21:59:01 2011
@@ -380,7 +380,7 @@
             sizer.Add(self.notebook, 1, wx.ALL|wx.EXPAND, 0)
 
             # Bind changing events.
-            self.gui.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGING, self.on_page_change)
+            self.gui.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.on_page_change)
 
             # Delete the previous sizer.
             old_sizer = self.gui.GetSizer()




Related Messages


Powered by MHonArc, Updated Mon Sep 19 22:20:02 2011