The OS-X "Window" menu

Hi Chris,

I replied too soon:

David Woods wrote:

  if 'wxMac' in wx.PlatformInfo:
      wx.MenuBar.SetAutoWindowMenu(False)

Now I've looked, and it looks like there is a GetAutoWindowMenu() method also, that should give me access to the Window menu.

No, that method returns a boolean indicating whether or not to create the auto window menu. There currently isn't any way to make changes to the auto Window menu, though as it turns out I've got a basic patch (in C++) that allows just that. (It takes your Window menu, and any items in it, and sticks them between "Zoom" and "Bring All to Front" on OS X, like native OS X apps do.) It's a first draft though, and Stefan hasn't had time to look at it yet.

Regards,

Kevin

···

On Mar 9, 2007, at 1:12 PM, Christopher Barker wrote:

Rob, I'm not sure where in your code I could put this...

-Chris

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org