summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index f3a8613..f9e961d 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -138,7 +138,7 @@ class Widget {
// Gets the default theme provider; this is necessary for when a widget has
// no profile (and ThemeProvider) associated with it. The default theme
// provider provides a default set of bitmaps that such widgets can use.
- virtual ThemeProvider* GetDefaultThemeProvider() { return NULL; }
+ virtual ThemeProvider* GetDefaultThemeProvider() const { return NULL; }
// Returns the FocusManager for this widget.
// Note that all widgets in a widget hierarchy share the same focus manager.