From 62739291844d8701420580adf0b135cd8759e8c0 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 24 Jan 2009 09:14:19 -0800 Subject: [PATCH] Added -init to CPMenu, which just calls initWithTitle: with empty string. Reviewed by me. --- AppKit/CPMenu.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPMenu.j b/AppKit/CPMenu.j index f0a1c73d9..04f47e715 100644 --- a/AppKit/CPMenu.j +++ b/AppKit/CPMenu.j @@ -206,6 +206,11 @@ var _CPMenuBarVisible = NO, return self; } +- (id)init +{ + return [self initWithTitle:@""]; +} + // Setting Up Menu Commands /*! Inserts a menu item at the specified index.