Re: macOS Default Menu Handling
Kafrene Trading <[email protected]> Wed, 3 Jun 2026 22:47:14 -0400
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
I see, thank you for the reference. Ryan Ogurek > On Jun 3, 2026, at 08:04, Lauri Nurmi <[email protected]> wrote: >=20 > =EF=BB=BFOn Sun, 31 May 2026, Ryan Ogurek wrote: >=20 >> Oh, nevermind. >> I'm not sure why I was thinking changing the `s_macAboutMenuItemId` woul= d change anything... >> Indeed, the label is replaced in any case, afaics, which seems to wholly= defeat the (relevant bits of) logic in >> CreateAppleMenu(). >> So, what's going on here? >> On Sunday, May 31, 2026 at 10:10:07=E2=80=AFPM UTC-4 Ryan Ogurek wrote: >> Hello, >> I've been looking at the way wxWidgets handles the macOS "default" items= like "About" and "Preferences," >> and I'm a bit confused by it, stepping through the code with a debugger = a bit. >> I see CreateAppleMenu() and MacInstallMenuBar() in menu_osx.cpp, where i= n the former the About and >> preferences items are added unconditionally (if the static item ids are = set) to a menu added to all menu >> bars (afaics). >=20 > There's an open issue about this, with some analysis and discussion: http= s://github.com/wxWidgets/wxWidgets/issues/16888 >=20 > -- > Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. > --- You received this message because you are subscribed to a topic in th= e Google Groups "wx-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/w= x-users/9_ZcZTkrbqo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to wx-us= [email protected]. > To view this discussion visit https://groups.google.com/d/msgid/wx-users/= b25464d6-4d6a-985d-27cc-4eead19fe4a2%40iki.fi. --=20 Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. ---=20 You received this message because you are subscribed to the Google Groups "= wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/D3= C4E332-E22E-42B4-AB8F-642F65A606D9%40gmail.com.