summaryrefslogtreecommitdiffstats
path: root/views/controls/button/text_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/text_button.h')
-rw-r--r--views/controls/button/text_button.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h
index 3fbc2b4..bd2fcb69 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -20,6 +20,10 @@ namespace views {
// A Border subclass that paints a TextButton's background layer -
// basically the button frame in the hot/pushed states.
//
+// Note that this type of button is not focusable by default and will not be
+// part of the focus chain. Call SetFocusable(true) to make it part of the
+// focus chain.
+//
////////////////////////////////////////////////////////////////////////////////
class TextButtonBorder : public Border {
public: