Index: views/controls/button/radio_button.cc |
=================================================================== |
--- views/controls/button/radio_button.cc (revision 86084) |
+++ views/controls/button/radio_button.cc (working copy) |
@@ -21,7 +21,7 @@ |
RadioButton::RadioButton(const std::wstring& label, int group_id) |
: Checkbox(label) { |
- SetGroup(group_id); |
+ set_group(group_id); |
} |
RadioButton::~RadioButton() { |
@@ -43,7 +43,7 @@ |
container = container->parent(); |
if (container) { |
std::vector<View*> other; |
- container->GetViewsWithGroup(GetGroup(), &other); |
+ container->GetViewsInGroup(group(), &other); |
std::vector<View*>::iterator i; |
for (i = other.begin(); i != other.end(); ++i) { |
if (*i != this) { |
@@ -71,7 +71,7 @@ |
View* RadioButton::GetSelectedViewForGroup(int group_id) { |
std::vector<View*> views; |
- GetWidget()->GetRootView()->GetViewsWithGroup(group_id, &views); |
+ GetWidget()->GetRootView()->GetViewsInGroup(group_id, &views); |
if (views.empty()) |
return NULL; |
@@ -123,7 +123,7 @@ |
RadioButtonNt::RadioButtonNt(const std::wstring& label, int group_id) |
: CheckboxNt(label) { |
- SetGroup(group_id); |
+ set_group(group_id); |
} |
RadioButtonNt::~RadioButtonNt() { |
@@ -141,7 +141,7 @@ |
container = container->parent(); |
if (container) { |
std::vector<View*> other; |
- container->GetViewsWithGroup(GetGroup(), &other); |
+ container->GetViewsInGroup(group(), &other); |
std::vector<View*>::iterator i; |
for (i = other.begin(); i != other.end(); ++i) { |
if (*i != this) { |
@@ -170,7 +170,7 @@ |
View* RadioButtonNt::GetSelectedViewForGroup(int group_id) { |
std::vector<View*> views; |
- GetWidget()->GetRootView()->GetViewsWithGroup(group_id, &views); |
+ GetWidget()->GetRootView()->GetViewsInGroup(group_id, &views); |
if (views.empty()) |
return NULL; |