issue #3069: Updating EventDispatcherTest.

This commit is contained in:
James Chen 2013-10-29 14:59:05 +08:00
parent 5698dcd0e1
commit cb7a762584
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ void TouchableSpriteTest::onEnter()
auto senderItem = static_cast<MenuItemFont*>(sender);
senderItem->setString("Only Next item could be clicked");
_eventDispatcher->removeEventListeners(EventListenerTouchOneByOne::ID);
_eventDispatcher->removeEventListeners(EventListener::Type::TOUCH_ONE_BY_ONE);
auto nextItem = MenuItemFont::create("Next", [=](Object* sender){
nextCallback(nullptr);