mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Replaced incorrect method names.
Reviewed by me.
This commit is contained in:
+2
-2
@@ -371,7 +371,7 @@ var _CPMenuBarVisible = NO,
|
||||
@param the tag of the desired menu item
|
||||
@return the menu item or \c nil if a match was not found
|
||||
*/
|
||||
- (CPMenuItem)menuWithTag:(int)aTag
|
||||
- (CPMenuItem)itemWithTag:(int)aTag
|
||||
{
|
||||
var index = [self indexOfItemWithTag:aTag];
|
||||
|
||||
@@ -386,7 +386,7 @@ var _CPMenuBarVisible = NO,
|
||||
@param aTitle the title of the menu item
|
||||
@return the menu item or \c nil if a match was not found
|
||||
*/
|
||||
- (CPMenuItem)menuWithTitle:(CPString)aTitle
|
||||
- (CPMenuItem)itemWithTitle:(CPString)aTitle
|
||||
{
|
||||
var index = [self indexOfItemWithTitle:aTitle];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user