Changes required after some Actor Devel APIs made public
[platform/core/uifw/dali-demo.git] / examples / text-overlap / text-overlap-example.cpp
index 560ebe0..f5609bd 100644 (file)
@@ -113,7 +113,7 @@ void TextOverlapController::Destroy( Application& app )
 bool TextOverlapController::OnClicked( Button button )
 {
   mTopmostLabel = 1-mTopmostLabel; // toggles between 0 and 1
-  DevelActor::RaiseToTop(mLabels[mTopmostLabel]);
+  mLabels[mTopmostLabel].RaiseToTop();
   return false;
 }