def OnMainListDelete(self, event): # wxGlade: MainFrame.<event_handler> from delete import delete_movie delete_movie(self)
def OnDelete(self, event): # wxGlade: MainFrame.<event_handler> from delete import delete_movie response = gutils.question(self, _("Are you sure you want to delete these entries?"), \ _("Delete entries")) if response == wx.ID_YES: delete_movie(self)