]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/menu.cpp
Respect the wxNO_BORDER flag for tool windows without a titlebar.
[wxWidgets.git] / src / osx / carbon / menu.cpp
index 5505797e2d996db413569c5f48091331d497f9e1..8d1277c7f7239d0b558d0b932ed8a352e9bbac41 100644 (file)
@@ -887,6 +887,8 @@ void wxMenuBar::MacInstallMenuBar()
             SetMenuItemCommandID( GetMenuHandle( kwxMacAppleMenuId ) , 1 , kHICommandAbout ) ;
             SetMenuItemRefCon(GetMenuHandle( kwxMacAppleMenuId ) , 1 , (URefCon)aboutMenuItem ) ;
             UMASetMenuItemShortcut( GetMenuHandle( kwxMacAppleMenuId ) , 1 , entry ) ;
+            
+            delete entry;
         }
     }