Index: views/controls/label.h |
diff --git a/views/controls/label.h b/views/controls/label.h |
index c1ccb52cd56a97affa2c7c686f43e6791015b0ea..2a8dda3f649b678c84625bb5727f9968eee971e0 100644 |
--- a/views/controls/label.h |
+++ b/views/controls/label.h |
@@ -161,7 +161,7 @@ class Label : public View { |
// GetPreferredSize().height() if the receiver is not multi-line. |
virtual int GetHeightForWidth(int w); |
// Sets the enabled state. Setting the enabled state resets the color. |
- virtual void SetEnabled(bool enabled) OVERRIDE; |
+ virtual void OnEnabledChanged(bool enabled) OVERRIDE; |
virtual std::string GetClassName() const OVERRIDE; |
// Mouse enter/exit are overridden to render mouse over background color. |
// These invoke SetContainsMouse as necessary. |