*From:* David Woods <dwoods@wcer.wisc.edu>
*To:* wxPython-users <wxPython-users@lists.wxwidgets.org>
*Date:* Tue, 29 Nov 2005 09:00:55 -0600
I sent this to wxPython-mac a week ago and got no response. I hope
someone
on this list can help me.
I notice that a "Window" menu is now automatically added to my wxPython
application on the Mac.
While I understand why it's there, I don't want it. It screws up my
i18n
when users change languages on the fly or use my program in a language
other
than the one OS X is installed in.
Is there a way to tell wxPython NOT to add this menu?
Also, on a related note, is there a way to either not show or change the
name of the Help menu? When I apply i18n to my program, I find I get a
Help
menu in the selected language and a second one in English, which is not
what
I want.
TIA,
David Woods, Ph.D.
Transana Lead Developer
Wisconsin Center for Education Research
University of Wisconsin, Madison
http://www.transana.org
There was a reply from Stefan but maybe it didn't reach you:
""" *From:* "Stefan Csomor" <csomor@advancedconcepts.ch>
Hi David
While I understand why it's there, I don't want it. It
screws up my i18n when users change languages on the fly or
use my program in a language other than the one OS X is installed in.
Is there a way to tell wxPython NOT to add this menu?
wxMenuBar::SetAutoWindowMenu(false)
I hope it is exposed by now
Also, on a related note, is there a way to either not show or
change the name of the Help menu? When I apply i18n to my
program, I find I get a Help menu in the selected language
and a second one in English, which is not what I want.
how is i18n applied ? is the application changed on the fly or after a
restart ? wxApp::s_macHelpMenuTitleName must have the same name as the
app's help menu otherwise duplicates occur.
Best,
Stefan """
Regards,
David Hughes
···
*To:* <wxPython-mac@lists.wxwidgets.org>
*Date:* Fri, 25 Nov 2005 07:45:50 +0100