summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_win.h')
-rw-r--r--views/controls/menu/menu_win.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/views/controls/menu/menu_win.h b/views/controls/menu/menu_win.h
index 5022db7..0469c12 100644
--- a/views/controls/menu/menu_win.h
+++ b/views/controls/menu/menu_win.h
@@ -63,6 +63,13 @@ class MenuWin : public Menu {
virtual void Cancel();
virtual int ItemCount();
+ virtual HMENU GetMenuHandle() const {
+ return menu_;
+ }
+
+ // Gets the Win32 TPM alignment flags for the specified AnchorPoint.
+ DWORD GetTPMAlignFlags() const;
+
protected:
virtual void AddMenuItemInternal(int index,
int item_id,
@@ -91,9 +98,6 @@ class MenuWin : public Menu {
// the state of the item in preference to |controller_|.
UINT GetStateFlagsForItemID(int item_id) const;
- // Gets the Win32 TPM alignment flags for the specified AnchorPoint.
- DWORD GetTPMAlignFlags() const;
-
// The Win32 Menu Handle we wrap
HMENU menu_;