issue #3069: int --> EventListener::Type.

This commit is contained in:
James Chen 2013-10-25 16:15:37 +08:00
parent 262b54eef2
commit 0d2d522f12
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ EventListenerCustom::EventListenerCustom()
{
}
EventListenerCustom* EventListenerCustom::create(int type, std::function<void(EventCustom*)> callback)
EventListenerCustom* EventListenerCustom::create(Type type, std::function<void(EventCustom*)> callback)
{
EventListenerCustom* ret = new EventListenerCustom();
if (ret && ret->init(type, callback))