No more need to override Menu::Popup
This commit is contained in:
parent
0e3a3d0748
commit
ca77c95c6d
6 changed files with 5 additions and 11 deletions
|
@ -51,7 +51,7 @@ class Menu : public mate::TrackableObject<Menu>,
|
|||
void ExecuteCommand(int command_id, int event_flags) override;
|
||||
void MenuWillShow(ui::SimpleMenuModel* source) override;
|
||||
|
||||
virtual void Popup(Window* window) = 0;
|
||||
void Popup(Window* window);
|
||||
virtual void PopupAt(Window* window,
|
||||
int x = -1, int y = -1,
|
||||
int positioning_item = 0) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue