fix CCControl::registerWithTouchDispatcher()

This commit is contained in:
vipsbpig 2013-03-08 10:25:09 +08:00
parent ce424a9e1b
commit 76e247fb9a
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ CCControl::~CCControl()
//Menu - Events //Menu - Events
void CCControl::registerWithTouchDispatcher() void CCControl::registerWithTouchDispatcher()
{ {
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, m_nDefaultTouchPriority, true); CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, getTouchPriority, true);
} }
void CCControl::onEnter() void CCControl::onEnter()