From 27ba8ecd4266b54fc251b523d1d6b5f69fbc30f9 Mon Sep 17 00:00:00 2001 From: Mazyad Alabduljaleel Date: Thu, 17 Jul 2014 02:10:59 +0400 Subject: [PATCH] [FIX]: make the scrollView delegate methods optional --- extensions/GUI/CCScrollView/CCScrollView.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/GUI/CCScrollView/CCScrollView.h b/extensions/GUI/CCScrollView/CCScrollView.h index d26c9240e0..2f4c224418 100644 --- a/extensions/GUI/CCScrollView/CCScrollView.h +++ b/extensions/GUI/CCScrollView/CCScrollView.h @@ -52,12 +52,12 @@ public: * @js NA * @lua NA */ - virtual void scrollViewDidScroll(ScrollView* view) = 0; + virtual void scrollViewDidScroll(ScrollView* view) {}; /** * @js NA * @lua NA */ - virtual void scrollViewDidZoom(ScrollView* view) = 0; + virtual void scrollViewDidZoom(ScrollView* view) {}; };