diff -r 95a0a427f3ef -r 131ea7f237b9 controls/CustomEditableListBox.py --- a/controls/CustomEditableListBox.py Fri Jun 15 18:03:25 2012 +0200 +++ b/controls/CustomEditableListBox.py Mon Jun 25 20:03:53 2012 +0200 @@ -35,11 +35,12 @@ listbox.Bind(wx.EVT_LIST_BEGIN_LABEL_EDIT, self.OnLabelBeginEdit) listbox.Bind(wx.EVT_LIST_END_LABEL_EDIT, self.OnLabelEndEdit) - for button, tooltip, call_function in [(self.GetEditButton(), _("Edit item"), "_OnEditButton"), - (self.GetNewButton(), _("New item"), "_OnNewButton"), - (self.GetDelButton(), _("Delete item"), "_OnDelButton"), - (self.GetUpButton(), _("Move up"), "_OnUpButton"), - (self.GetDownButton(), _("Move down"), "_OnDownButton")]: + for button, tooltip, call_function in [ + (self.GetEditButton(), _("Edit item"), "_OnEditButton"), + (self.GetNewButton(), _("New item"), "_OnNewButton"), + (self.GetDelButton(), _("Delete item"), "_OnDelButton"), + (self.GetUpButton(), _("Move up"), "_OnUpButton"), + (self.GetDownButton(), _("Move down"), "_OnDownButton")]: button.SetToolTipString(tooltip) button.Bind(wx.EVT_BUTTON, self.GetButtonPressedFunction(call_function))