Add popup method for Menu.

This commit is contained in:
Cheng Zhao 2013-05-14 16:50:56 +08:00
parent 667384ef74
commit 13c0a05fdd
4 changed files with 95 additions and 0 deletions

View file

@ -19,6 +19,8 @@ class MenuMac : public Menu {
virtual ~MenuMac();
protected:
virtual void Popup(NativeWindow* window, int x, int y) OVERRIDE;
scoped_nsobject<MenuController> controller_;
private: