summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_2.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r--views/controls/menu/menu_2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 2b9ea06..4bfe9b9 100644
--- a/views/controls/menu/menu_2.h
+++ b/views/controls/menu/menu_2.h
@@ -15,6 +15,8 @@ class Point;
namespace views {
+class NativeMenuGtk;
+
// A menu. Populated from a model, and relies on a delegate to execute commands.
class Menu2 {
public:
@@ -51,6 +53,8 @@ class Menu2 {
menus::MenuModel* model() const { return model_; }
private:
+ friend class NativeMenuGtk;
+
menus::MenuModel* model_;
// The object that actually implements the menu.