X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3312496dcc0c6af091defb616d24ea1763df235a..f2c88494b6978bee502f4c856ba9dc7e3b7c3954:/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