Fix misleading comment text in CCMenu.h (#18855)

This commit is contained in:
Vasily Fomin 2018-05-30 05:39:23 -07:00 committed by leda
parent dfdaf9ed61
commit eb87dec447
1 changed files with 3 additions and 3 deletions

View File

@ -150,10 +150,10 @@ public:
virtual bool isEnabled() const { return _enabled; } virtual bool isEnabled() const { return _enabled; }
/** /**
* Set whether the menu is visible. If set false, interacting with the menu * Set whether the menu is enabled. If set to false, interacting with the menu
* will have no effect. * will have no effect.
* The default value is true, a menu is default to visible. * The default value is true, a menu is enabled by default.
*@param value true if menu is to be enabled, false if menu is to be disabled. * @param value true if menu is to be enabled, false if menu is to be disabled.
*/ */
virtual void setEnabled(bool value) { _enabled = value; }; virtual void setEnabled(bool value) { _enabled = value; };