diff options
Diffstat (limited to 'views/controls/menu/menu_item_view.h')
-rw-r--r-- | views/controls/menu/menu_item_view.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h index 6a57979..af8f0f0 100644 --- a/views/controls/menu/menu_item_view.h +++ b/views/controls/menu/menu_item_view.h @@ -334,7 +334,9 @@ class VIEWS_EXPORT MenuItemView : public View { // Creates a MenuItemView. This is used by the various AddXXX methods. MenuItemView(MenuItemView* parent, int command, Type type); - virtual std::string GetClassName() const; + virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; + + virtual std::string GetClassName() const OVERRIDE; private: // Calculates all sizes that we can from the OS. |