I'm using wxWidgets 3.1.1 on macOS 10.13.5 Beta using the Xcode GCC compiler. I added a menu bar to my window with a menu titles "Help" and an item on that menu with an id of wxID_HELP. Instead of that menu item replacing the default "Help" item that's added to the Help menu, it's added as an additional item, so you see a disabled item and an enabled item. I've included a screen-shot and the code I'm using to create the menu. Is there something I'm missing?
Code: Select all
auto menuBar = new wxMenuBar();
auto mnuHelp = new wxMenu("Help");
mnuHelp->Append(wxID_ABOUT, "About");
this->Bind(wxEVT_COMMAND_MENU_SELECTED, &MainWindow::OnAbout, this, wxID_ABOUT);
mnuHelp->Append(wxID_HELP, "Help");
this->Bind(wxEVT_COMMAND_MENU_SELECTED, &MainWindow::OnHelp, this, wxID_HELP);
menuBar->Append(mnuHelp, "Help");
this->SetMenuBar(menuBar);