summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/controls/button/native_button.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc
index d791082..0e2c1f5 100644
--- a/views/controls/button/native_button.cc
+++ b/views/controls/button/native_button.cc
@@ -248,6 +248,7 @@ NativeButton::NativeButton(ButtonListener* listener, const std::wstring& label)
: TextButton(listener, label), is_default_(false) {
set_alignment(TextButton::ALIGN_CENTER);
SetNormalHasBorder(true);
+ SetFocusable(true);
}
void NativeButton::SetLabel(const std::wstring& label) {