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