X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fradio-button.cpp;h=7538723481711f4caf7449c4d3b43fb8e6fede8e;hb=afdfeea4e117ce670cd489f46549129d535e5943;hp=b43523d79d269510113e5f5a071e9948297324e4;hpb=68106e2cbb8541c18a77f39770ea7759f44e02a0;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 b43523d..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) 2015 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; }