[Mac] Move the FixMenuTitles hack to MenuController.
This commit is contained in:
parent
22012d41d8
commit
f908619630
3 changed files with 5 additions and 22 deletions
|
@ -26,11 +26,6 @@ class MenuMac : public Menu {
|
|||
private:
|
||||
friend class Menu;
|
||||
|
||||
// The MenuController doesn't set title for menus, however it's required by
|
||||
// application menu to show submenus correctly, fix it by iterating all
|
||||
// submenus and set their titles.
|
||||
static void FixMenuTitles(NSMenu* menu);
|
||||
|
||||
// Fake sending an action from the application menu.
|
||||
static void SendActionToFirstResponder(const std::string& action);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue