fix: pass button callback in constructor (#27545)
This commit is contained in:
parent
79b3393768
commit
6edf6c6a95
4 changed files with 22 additions and 12 deletions
|
@ -80,7 +80,7 @@ class MenuBar : public views::AccessiblePaneView,
|
|||
// views::View:
|
||||
const char* GetClassName() const override;
|
||||
|
||||
void ButtonPressed(views::Button* source, const ui::Event& event);
|
||||
void ButtonPressed(int id, const ui::Event& event);
|
||||
|
||||
void RebuildChildren();
|
||||
void UpdateViewColors();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue