]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSMenu.mm
Allow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX...
[wxWidgets.git] / src / cocoa / NSMenu.mm
index c71a2d2e9b1bf55f50555081f30a37818800820b..ef19045c4502460691423c933cd81fc892bb6157 100644 (file)
@@ -40,6 +40,7 @@ WX_IMPLEMENT_POSER(wxPoserNSMenu);
     wxCocoaNSMenu *menu = wxCocoaNSMenu::GetFromCocoa(self);
     if(menu)
         menu->Cocoa_dealloc();
+    [super dealloc];
 }
 
 @end // wxPoserNSMenu