mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Set transfer flag for subMenu in MenuItem constructor
This fixes a crash when wx.MenuItem with a submenu. Fixes #1648.
This commit is contained in:
@@ -36,6 +36,7 @@ def run():
|
||||
c.addPrivateCopyCtor()
|
||||
tools.removeVirtuals(c)
|
||||
|
||||
c.find('wxMenuItem.subMenu').transfer = True
|
||||
c.find('SetSubMenu.menu').transfer = True
|
||||
|
||||
# deprecated and removed
|
||||
|
||||
Reference in New Issue
Block a user