On Mon, Mar 15, 2021 at 1:41 PM Andreas Falkenhahn
> I'm having a strange issue with wxWidgets 3.1.4 on macOS which wasn't there in 3.1.0. When I start the minimal sample (or any other wxWidgets app) like below, the app's window is neither put to the front and nor does it get activated. It's opened in the background and it is inactive instead. This is the line:
> $ ./minimal.app/Contents/MacOS/minimal
You really, really, really shouldn't do that.
The native OSX behavior is to use Application Bundle and so running it
like this doesn't guarantee\
that everything will work correctly.
In particular the menus will not be active and some other tools might not work.
> When I start it using Finder or using "open" from bash, however, it works correctly, e.g. this works correctly:
> $ open minimal.app
> However, using wxWidgets 3.1.0 the first method is working correctly as well so it looks like the cause is in wxWidgets, not in macOS. Does anybody have an idea what change between wxWidgets 3.1.0 and 3.1.4 could have triggered this change in behaviour? I'd really like to have the old behaviour back so I'm wondering if anybody knows what is responsible for this change in behaviour...
From what I heard, OSX will prohibit using *nix-style application run
in the near future.
> Please read http://www.wxwidgets.org/support/mlhowto.htm
> To unsubscribe, send email to wx-users+u...@googlegroups.com
> or visit http://groups.google.com/group/wx-users
> 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 email to wx-users+u...@googlegroups.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/1421360441.20210315194204%40falkenhahn.com