]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSMenu.mm
fixed incorrect XtVaXXX() function call (thanks to g++ 4 for detecting this!)
[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