diff options
Diffstat (limited to 'views/controls')
-rw-r--r-- | views/controls/menu/menu_2.cc | 3 | ||||
-rw-r--r-- | views/controls/menu/menu_2.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/views/controls/menu/menu_2.cc b/views/controls/menu/menu_2.cc index f64f275..388b4e9 100644 --- a/views/controls/menu/menu_2.cc +++ b/views/controls/menu/menu_2.cc @@ -16,6 +16,9 @@ Menu2::Menu2(ui::MenuModel* model) Rebuild(); } +Menu2::~Menu2() { +} + gfx::NativeMenu Menu2::GetNativeMenu() const { return wrapper_->GetNativeMenu(); } diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h index 8916b7c..7204120 100644 --- a/views/controls/menu/menu_2.h +++ b/views/controls/menu/menu_2.h @@ -33,7 +33,7 @@ class Menu2 { // MyClass : menu_(this) {} // is likely to have problems. explicit Menu2(ui::MenuModel* model); - virtual ~Menu2() {} + virtual ~Menu2(); // How the menu is aligned relative to the point it is shown at. // The alignment is reversed by menu if text direction is right to left. |