summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/controls/button/text_button.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h
index 3373bc5..ba8568d 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -327,9 +327,9 @@ class VIEWS_EXPORT TextButton : public TextButtonBase {
}
// Sets the icon.
- void SetIcon(const SkBitmap& icon);
- void SetHoverIcon(const SkBitmap& icon);
- void SetPushedIcon(const SkBitmap& icon);
+ virtual void SetIcon(const SkBitmap& icon);
+ virtual void SetHoverIcon(const SkBitmap& icon);
+ virtual void SetPushedIcon(const SkBitmap& icon);
bool HasIcon() const { return !icon_.empty(); }