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