Pass item which is considered to be clicked item to context menus

This commit is contained in:
DarkPhoenix
2019-04-22 15:45:37 +03:00
parent 881ec8b5b4
commit c03d000c45
14 changed files with 19 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ class ContextMenu(object):
return False
@classmethod
def getMenu(cls, selection, *fullContexts):
def getMenu(cls, main, selection, *fullContexts):
"""
getMenu returns a menu that is used with wx.PopupMenu.