No "Window" menu on wxCocoa

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
tessman
Earned some good credits
Earned some good credits
Posts: 109
Joined: Tue Oct 06, 2009 5:25 pm

No "Window" menu on wxCocoa

Post by tessman »

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)?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: No "Window" menu on wxCocoa

Post by ONEEYEMAN »

Hi,
Which samples did you try?
It should definitely be visible under docview/mdi samples.

Thank you.
tessman
Earned some good credits
Earned some good credits
Posts: 109
Joined: Tue Oct 06, 2009 5:25 pm

Re: No "Window" menu on wxCocoa

Post by tessman »

No, neither of those has a Window menu, either. (Nothing does.)
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: No "Window" menu on wxCocoa

Post by ONEEYEMAN »

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.
tessman
Earned some good credits
Earned some good credits
Posts: 109
Joined: Tue Oct 06, 2009 5:25 pm

Re: No "Window" menu on wxCocoa

Post by tessman »

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?
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: No "Window" menu on wxCocoa

Post by doublemax »

So to clarify, you do have a "Window" menu automatically generated for every application?
FWIW: I don't.
Use the source, Luke!
Post Reply