diff --git a/etg/menu.py b/etg/menu.py index 7dc16033..24ed6f15 100644 --- a/etg/menu.py +++ b/etg/menu.py @@ -73,6 +73,10 @@ def run(): c.addPyMethod('PrependItem', '(self, menuItem)', deprecated='Use Prepend instead.', body='return self.Prepend(menuItem)') + c.addPyMethod('RemoveMenu', '(self, id, item, subMenu, help="")', deprecated='Use Remove instead.', + body='return self.Remove(id, item, subMenu, help)') + c.addPyMethod('RemoveItem', '(self, menuItem)', deprecated='Use Remove instead.', + body='return self.Remove(menuItem)') # Don't hide the Destroy inherited from wxObject c.find('Destroy').findOverload('int').pyName = 'DestroyItem'