Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does wxMac support the standard Apple About menu item and Help menu?

Apple help menu standard support
0
10 Posted

How does wxMac support the standard Apple About menu item and Help menu?

0
10

Because wxWidgets does not have a specific API for the About menu item or the Help menu, the Mac OS port uses some static variables to help the engine make the right decisions: • It assumes that the About menu item is part of a Help menu. • The title of the Help menu is stored in wxApp::s_macHelpMenuTitleName, it defaults to “&Help”, but you can change it in your constructor to your specific menu title. • The item Id of the About menu is stored in wxApp::s_macAboutMenuItemID, it defaults to wxID_ABOUT, but can be changed as well to suit your needs. • The other items of the wxWidgets help menu are appended to the Mac OS Help menu and the translation of Ids is handled transparently for your application.

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.