]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/menuitem.mm
non PCH compilation
[wxWidgets.git] / src / osx / cocoa / menuitem.mm
index 680d3c0cc73b66939c1f239bff43fb054895f309..cb525c3fac272b83148a2a3f17f8f0eeb123235d 100644 (file)
@@ -223,6 +223,7 @@ wxMenuItemCocoaImpl::~wxMenuItemCocoaImpl()
 {
     if ( ![m_osxMenuItem isSeparatorItem] )
         [(wxNSMenuItem*)m_osxMenuItem setImplementation:nil];
+    [m_osxMenuItem release];
 }