diff --git a/test_uphone/tests/MotionStreakTest/MotionStreakTest.cpp b/test_uphone/tests/MotionStreakTest/MotionStreakTest.cpp index 576f6ddb57..f32b1e29e7 100644 --- a/test_uphone/tests/MotionStreakTest/MotionStreakTest.cpp +++ b/test_uphone/tests/MotionStreakTest/MotionStreakTest.cpp @@ -55,7 +55,7 @@ std::string MotionStreakTest1::title() void MotionStreakTest2::onEnter() { - __sMotionStreakTestuper::onEnter(); + MotionStreakTest::onEnter(); setIsTouchEnabled(true); diff --git a/test_uphone/tests/TouchesTest/Paddle.cpp b/test_uphone/tests/TouchesTest/Paddle.cpp index 9c2bcf74d1..8df224d962 100644 --- a/test_uphone/tests/TouchesTest/Paddle.cpp +++ b/test_uphone/tests/TouchesTest/Paddle.cpp @@ -36,13 +36,13 @@ bool Paddle::initWithTexture(CCTexture2D* aTexture) void Paddle::onEnter() { CCTouchDispatcher::getSharedDispatcher()->addTargetedDelegate(this, 0, true); - __super::onEnter(); + CCSprite::onEnter(); } void Paddle::onExit() { CCTouchDispatcher::getSharedDispatcher()->removeDelegate(this); - __super::onExit(); + CCSprite::onExit(); } bool Paddle::containsTouchLocation(CCTouch* touch)