Remove Deprecated APIs
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / controls / control-impl.cpp
index bc97f30..975152e 100644 (file)
@@ -604,7 +604,7 @@ void Control::Initialize()
     Toolkit::StyleManager styleManager = Toolkit::StyleManager::Get();
 
     // Register for style changes
-    styleManager.StyleChangeSignal().Connect( this, &ControlImpl::DoStyleChange );
+    styleManager.StyleChangeSignal().Connect( this, &Control::DoStyleChange );
 
     // SetTheme
     GetImpl( styleManager ).ApplyThemeStyle( GetOwner() );
@@ -953,9 +953,6 @@ void Control::DoStyleChange( Toolkit::StyleManager styleManager, StyleChange cha
   }
   else if( change.defaultFontChange || change.defaultFontSizeChange )
   {
-    // This OnStyleChange(StyleChange change ) is deprecated, use OnFontChange instead
-    OnStyleChange( change );
-
     OnFontChange( change.defaultFontChange, change.defaultFontSizeChange );
   }
 }
@@ -1288,12 +1285,6 @@ std::size_t Control::GetConnectionCount() const
   return mImpl->GetConnectionCount();
 }
 
-Control::Control( bool requiresTouchEvents )
-: CustomActorImpl( requiresTouchEvents ),
-  mImpl(new Impl(*this))
-{
-}
-
 Control::Control( ControlBehaviour behaviourFlags )
 : CustomActorImpl( behaviourFlags & REQUIRES_TOUCH_EVENTS ),
   mImpl(new Impl(*this))