From d650c0a6a1fb4ebc1935e8d4d96cc56bd50fc314 Mon Sep 17 00:00:00 2001 From: hanson Date: Tue, 26 Nov 2013 17:03:01 +0800 Subject: [PATCH] add gui namespace before SEL_TouchEvent --- cocos/gui/UIWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/gui/UIWidget.h b/cocos/gui/UIWidget.h index 065f794721..84852df00e 100644 --- a/cocos/gui/UIWidget.h +++ b/cocos/gui/UIWidget.h @@ -71,7 +71,7 @@ typedef enum }PositionType; typedef void (cocos2d::Object::*SEL_TouchEvent)(cocos2d::Object*,TouchEventType); -#define toucheventselector(_SELECTOR) (SEL_TouchEvent)(&_SELECTOR) +#define toucheventselector(_SELECTOR) (gui::SEL_TouchEvent)(&_SELECTOR) class UIWidget : public cocos2d::Object {