X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3312496dcc0c6af091defb616d24ea1763df235a..b8af111fa5d3916e6f42fee3af0ab1bec0ace7b6:/src/cocoa/NSMenu.mm diff --git a/src/cocoa/NSMenu.mm b/src/cocoa/NSMenu.mm index c71a2d2e9b..ef19045c45 100644 --- a/src/cocoa/NSMenu.mm +++ b/src/cocoa/NSMenu.mm @@ -40,6 +40,7 @@ WX_IMPLEMENT_POSER(wxPoserNSMenu); wxCocoaNSMenu *menu = wxCocoaNSMenu::GetFromCocoa(self); if(menu) menu->Cocoa_dealloc(); + [super dealloc]; } @end // wxPoserNSMenu