Replaced deprecated functions

This commit is contained in:
Manuel Cortez 2018-01-26 13:51:54 -06:00
parent d307ca1784
commit 8c95d54305

View File

@ -5,6 +5,6 @@ class contextMenu(wx.Menu):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(contextMenu, self).__init__(*args, **kwargs) super(contextMenu, self).__init__(*args, **kwargs)
self.play = wx.MenuItem(self, wx.NewId(), _("Play")) 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.download = wx.MenuItem(self, wx.NewId(), _("Download"))
self.AppendItem(self.download) self.Append(self.download)