On Tue, 11 May 2021 17:20:12 -0700 (PDT) Michael Uman wrote:
MU> So now I am at IBM and working on a project to help us analyze log files
MU> generated by one of our AI projects. We are not going to use Qt for this,
MU> and in my group we already are using wxWidgets for one of the tools. So I
MU> decided to design this new tool with wxWidgets.
Excellent decision! :-)
MU> When the application first runs the Menu is not responsive no matter what.
MU> But if I change focus to another window (Alt-Tab) and then back to my app,
MU> then the menu works.
This does look very much like you're running the binary directly, i.e. as
under Linux. This is not supported by Apple and although there are some
hackish ways to make it work, I'd strongly recommend to follow the official
way and create the application bundle and run the application from it
instead.
Note that you can still run the binary from the command line, but you need
to run ./
myapp.app/Contents/MacOS/myapp rather than ./myapp directly. You
will also need at least an Info.plist and maybe (I'm not even sure if it's
still required myself) PkgInfo file. You can use samples/
Info.plist.in from
wxWidgets as an inspiration for the former.
Good luck!
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/