mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Replaced incorrect method names.
Reviewed by me.
This commit is contained in:
1 parent
7f9bc98929
commit
879561f67b
1 file changed
+2
-2
+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