summaryrefslogtreecommitdiffstats
path: root/views/controls/button/checkbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/checkbox.cc')
-rw-r--r--views/controls/button/checkbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/checkbox.cc b/views/controls/button/checkbox.cc
index 1dcb80a..ac756cd 100644
--- a/views/controls/button/checkbox.cc
+++ b/views/controls/button/checkbox.cc
@@ -207,7 +207,7 @@ void Checkbox::Init(const std::wstring& label_text) {
// Checkboxs don't need to enforce a minimum size.
set_ignore_minimum_size(true);
label_ = new Label(label_text);
- label_->set_has_focus_border(true);
+ label_->SetHasFocusBorder(true);
label_->SetHorizontalAlignment(Label::ALIGN_LEFT);
AddChildView(label_);
}