fixing leak, fixes #11781
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bcf5d9fb9f
commit
3c9413b7de
@ -223,6 +223,7 @@ wxMenuItemCocoaImpl::~wxMenuItemCocoaImpl()
|
||||
{
|
||||
if ( ![m_osxMenuItem isSeparatorItem] )
|
||||
[(wxNSMenuItem*)m_osxMenuItem setImplementation:nil];
|
||||
[m_osxMenuItem release];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user