X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fradio-button.cpp;h=7538723481711f4caf7449c4d3b43fb8e6fede8e;hb=e21509125c3737c81c73cec9950ffa346af8beec;hp=c6982257cabff7c84d27d832e3d1c16b0fd2ba49;hpb=87f440c3d0367ca5a7027eef8d01d79b8703cf05;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/buttons/radio-button.cpp b/dali-toolkit/public-api/controls/buttons/radio-button.cpp index c698225..7538723 100644 --- a/dali-toolkit/public-api/controls/buttons/radio-button.cpp +++ b/dali-toolkit/public-api/controls/buttons/radio-button.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,14 +71,7 @@ RadioButton RadioButton::New() RadioButton RadioButton::New( const std::string& label ) { RadioButton radioButton = Internal::RadioButton::New(); - radioButton.SetLabel( label ); - return radioButton; -} - -RadioButton RadioButton::New( Actor label ) -{ - RadioButton radioButton = Internal::RadioButton::New(); - radioButton.SetLabel( label ); + radioButton.SetProperty( Toolkit::Button::Property::LABEL, label ); return radioButton; }