issue #3258: MenuItemFont has empty argument create function now.

This commit is contained in:
James Chen 2013-11-26 15:44:21 +08:00
parent 6f67447b5e
commit b55e8f17c7
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class CC_DLL MenuItemFont : public MenuItemLabel
{ {
public: public:
/** creates a menu item from a string without target/selector. To be used with MenuItemToggle */ /** creates a menu item from a string without target/selector. To be used with MenuItemToggle */
static MenuItemFont * create(const std::string& value); static MenuItemFont * create(const std::string& value = "");
/** creates a menu item from a string with a target/selector */ /** creates a menu item from a string with a target/selector */
CC_DEPRECATED_ATTRIBUTE static MenuItemFont * create(const char *value, Object* target, SEL_MenuHandler selector); CC_DEPRECATED_ATTRIBUTE static MenuItemFont * create(const char *value, Object* target, SEL_MenuHandler selector);
/** creates a menu item from a string with a target/selector */ /** creates a menu item from a string with a target/selector */