mailr13340 - /branches/gui_testing/gui/menu.py


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

Header


Content

Posted by edward on June 30, 2011 - 14:00:
Author: bugman
Date: Thu Jun 30 14:00:32 2011
New Revision: 13340

URL: http://svn.gna.org/viewcvs/relax?rev=13340&view=rev
Log:
Fix for the menu build_menu_item() method - the function binding was not 
correct.


Modified:
    branches/gui_testing/gui/menu.py

Modified: branches/gui_testing/gui/menu.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/menu.py?rev=13340&r1=13339&r2=13340&view=diff
==============================================================================
--- branches/gui_testing/gui/menu.py (original)
+++ branches/gui_testing/gui/menu.py Thu Jun 30 14:00:32 2011
@@ -152,7 +152,7 @@
 
         # Bind the menu entry.
         if fn:
-            self.gui.Bind(wx.EVT_MENU, fn, id)
+            self.gui.Bind(wx.EVT_MENU, fn, id=id)
 
         # Return the element.
         return element




Related Messages


Powered by MHonArc, Updated Thu Jun 30 14:20:03 2011