From 8c95d54305a45211d16c1e68d3f042b20bc8c0e0 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 26 Jan 2018 13:51:54 -0600 Subject: [PATCH] Replaced deprecated functions --- src/wxUI/menus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wxUI/menus.py b/src/wxUI/menus.py index 27efa3b..9ff17f0 100644 --- a/src/wxUI/menus.py +++ b/src/wxUI/menus.py @@ -5,6 +5,6 @@ class contextMenu(wx.Menu): def __init__(self, *args, **kwargs): super(contextMenu, self).__init__(*args, **kwargs) self.play = wx.MenuItem(self, wx.NewId(), _("Play")) - self.AppendItem(self.play) + self.Append(self.play) self.download = wx.MenuItem(self, wx.NewId(), _("Download")) - self.AppendItem(self.download) + self.Append(self.download)