Open philiplb opened 6 years ago
Have you tried to pass the name when calling wx.NewApp
? For example, wx.NewApp("HelloWorld")
Hi, thank you for the response. I just tried it and that works half way: It doesn't change the "Hello_World" label but it changes the menu entries. But it modifies them:
wx.NewApp("FooBar 42")
Results in "Foobar 42". Note the lowercase "b".
Environment:
[[projects]]
name = "github.com/dontpanic92/wxGo"
packages = ["wx"]
revision = "8da0a0ebd793d0383a41a0728e43dd35afe81bf7"
version = "v0.3"
It looks like .NewApp()
is the only place the string "wxgo"
is used within the library...
Do the "Hide" and "Quit" options show the correct name if you compile and bundle your app?
The snarfing of capitalisation seems like something macOS is doing for some stupid design over functionality reason. Notice it's also title-capped "Wxgo".
Hi, on MacOS, there is this application menu, here labeled "Hello_World" containing the quit application menu item labeled "Quit Wxgo":
How can I programmatically change the label of "Hello_World"? How can I change this quit application menu item label to "Quit \<MyApplicationName>"? And "Hide Wxgo"?