summaryrefslogtreecommitdiffstats
path: root/views/controls/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/label.h')
-rw-r--r--views/controls/label.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/label.h b/views/controls/label.h
index 8ff6e51..d916659 100644
--- a/views/controls/label.h
+++ b/views/controls/label.h
@@ -72,11 +72,11 @@ class Label : public View {
virtual std::string GetClassName() const { return kViewClassName; }
// Overridden to paint
- virtual void Paint(gfx::Canvas* canvas);
+ virtual void OnPaint(gfx::Canvas* canvas);
// If the mouse is over the label, and a mouse over background has been
// specified, its used. Otherwise super's implementation is invoked.
- virtual void PaintBackground(gfx::Canvas* canvas);
+ virtual void OnPaintBackground(gfx::Canvas* canvas);
// Set the font.
void SetFont(const gfx::Font& font);