Replaced deprecated functions
This commit is contained in:
parent
d307ca1784
commit
8c95d54305
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user