diff options
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r-- | views/widget/root_view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h index 0bbdea8..aabf339 100644 --- a/views/widget/root_view.h +++ b/views/widget/root_view.h @@ -80,7 +80,8 @@ class RootView : public View, // Tree functions // Get the Widget that hosts this View. - virtual Widget* GetWidget() const; + virtual const Widget* GetWidget() const; + virtual Widget* GetWidget(); // Public API for broadcasting theme change notifications to this View // hierarchy. |