mirror of https://github.com/axmolengine/axmol.git
fixed #1302: The parameter of CCMenu::setHandlerPriority should be signed int.
This commit is contained in:
parent
37aa196c73
commit
734ea54aba
|
@ -178,7 +178,7 @@ void CCMenu::onExit()
|
|||
|
||||
//Menu - Events
|
||||
|
||||
void CCMenu::setHandlerPriority(unsigned int newPriority)
|
||||
void CCMenu::setHandlerPriority(int newPriority)
|
||||
{
|
||||
CCTouchDispatcher* pDispatcher = CCDirector::sharedDirector()->getTouchDispatcher();
|
||||
pDispatcher->setPriority(newPriority, this);
|
||||
|
|
|
@ -109,7 +109,7 @@ public:
|
|||
void alignItemsInRows(unsigned int rows, va_list args);
|
||||
|
||||
/** set event handler priority. By default it is: kCCMenuTouchPriority */
|
||||
void setHandlerPriority(unsigned int newPriority);
|
||||
void setHandlerPriority(int newPriority);
|
||||
|
||||
//super methods
|
||||
virtual void addChild(CCNode * child);
|
||||
|
|
Loading…
Reference in New Issue