I've noticed this for quite a while and have kept forgetting to check it out definitively: Is it just me, or is there no (standard) Mac "Window" menu under wxCocoa in the final position before the "Help" menu?
Apple's developer documentation states that the Window menu should be created automatically for Cocoa apps, whereas there used to be an explicit call under Carbon (which is currently therefore #ifdef'd out in menu_osx.cpp).
Anyway, I don't see it in my application, nor in any of the samples. Does anyone get different behaviour (or have any suggestions)?
No "Window" menu on wxCocoa
Re: No "Window" menu on wxCocoa
Hi,
Which samples did you try?
It should definitely be visible under docview/mdi samples.
Thank you.
Which samples did you try?
It should definitely be visible under docview/mdi samples.
Thank you.
Re: No "Window" menu on wxCocoa
No, neither of those has a Window menu, either. (Nothing does.)
Re: No "Window" menu on wxCocoa
Hi,
What is your version of wx? What is OSX version you are testing it on?
What is an exact configure line you usd to compile the library (given you compiled it yourself from the Terminal)? Did you receive any warnings/errors during the build?
Thank you.
What is your version of wx? What is OSX version you are testing it on?
What is an exact configure line you usd to compile the library (given you compiled it yourself from the Terminal)? Did you receive any warnings/errors during the build?
Thank you.
Re: No "Window" menu on wxCocoa
macOS Sierra Version 10.12.6 (Build 16G1212)
wxWidgets version 3.1.1
../configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" CPPFLAGS="-arch x86_64" OBJCFLAGS="-arch x86_64" LDFLAGS="-arch x86_64" --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin --with-expat=builtin --with-zlib=builtin --disable-shared --enable-monolithic --enable-debug
So to clarify, you do have a "Window" menu automatically generated for every application?
wxWidgets version 3.1.1
../configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" CPPFLAGS="-arch x86_64" OBJCFLAGS="-arch x86_64" LDFLAGS="-arch x86_64" --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin --with-expat=builtin --with-zlib=builtin --disable-shared --enable-monolithic --enable-debug
So to clarify, you do have a "Window" menu automatically generated for every application?
Re: No "Window" menu on wxCocoa
FWIW: I don't.So to clarify, you do have a "Window" menu automatically generated for every application?
Use the source, Luke!