Mark wx.Menu.Insert.submenu with the transfer annotation

This commit is contained in:
Robin Dunn
2018-07-17 14:14:51 -07:00
parent f8a2c7f0cc
commit e32e36dd1a

View File

@@ -54,6 +54,7 @@ def run():
addTransferAnnotations(c, 'menuItem')
addTransferAnnotations(c, 'subMenu')
c.find('AppendSubMenu.submenu').transfer = True
c.find('Insert.submenu').transfer = True
# We only need one of these overloads, the non-const/const is not enough
# to distinguish a unique Python signature.