issue #4058: Template fix. Object -> Ref

This commit is contained in:
James Chen 2014-02-20 11:31:49 +08:00
parent 8fcf172235
commit 004a846847
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ bool HelloWorld::init()
}
void HelloWorld::menuCloseCallback(Object* pSender)
void HelloWorld::menuCloseCallback(Ref* pSender)
{
Director::getInstance()->end();

View File

@ -13,7 +13,7 @@ public:
virtual bool init();
// a selector callback
void menuCloseCallback(Object* pSender);
void menuCloseCallback(cocos2d::Ref* pSender);
// implement the "static create()" method manually
CREATE_FUNC(HelloWorld);

View File

@ -236,7 +236,7 @@ void reloadScript()
}
class ConnectWaiter: public Object
class ConnectWaiter: public Ref
{
public:
static ConnectWaiter& getInstance()