remove unused override method

This commit is contained in:
andyque 2014-06-23 15:46:07 +08:00
parent e72d89ba2f
commit 808c4bd763
3 changed files with 2 additions and 7 deletions

View File

@ -453,11 +453,6 @@ void ListView::addEventListenerListView(Ref *target, SEL_ListViewEvent selector)
_listViewEventListener = target; _listViewEventListener = target;
_listViewEventSelector = selector; _listViewEventSelector = selector;
} }
void ListView::addEventListener(const ccScrollViewCallback& callback)
{
ScrollView::addEventListener(callback);
}
void ListView::addEventListener(const ccListViewCallback& callback) void ListView::addEventListener(const ccListViewCallback& callback)

View File

@ -174,7 +174,7 @@ public:
CC_DEPRECATED_ATTRIBUTE void addEventListenerListView(Ref* target, SEL_ListViewEvent selector); CC_DEPRECATED_ATTRIBUTE void addEventListenerListView(Ref* target, SEL_ListViewEvent selector);
void addEventListener(const ccListViewCallback& callback); void addEventListener(const ccListViewCallback& callback);
virtual void addEventListener(const ccScrollViewCallback& callback) override; using ScrollView::addEventListener;
/** /**
* Changes scroll direction of scrollview. * Changes scroll direction of scrollview.

@ -1 +1 @@
Subproject commit b77212bf6fbdc33b9e08a68ed224121ad93864e5 Subproject commit 2173b0b479e0e7be62df9ded754b20e75e74b0f2