Quit / Exit menu for Mac and Windows

"Brendan Simon (eTRIX)" <[email protected]>
Newsgroups gmane.comp.python.wxglade
Organization eTRIX pty ltd
Message-ID <[email protected]>
I have an app that is built for Mac and Windows.

I wanted the Quit hot key on mac (cmd-Q) so I added the menubar in
wxglade.  I also added an Open and Upload menu item.

The Mac app now quits when I press cmd-Q :)

However on Windows nothing happens.  Ctrl-Q doesn't do anything, nor Ctrl-X.

I had to add an explicit menu item for Quit (in the File menu).  That's
fine, but now on Mac I have two Quit menu items.  One in the File menu
and one in the application menu.  Also Windows tends to use the term
"Exit" and Mac "Quit".

Does wxglade handle these differences for each platform, and if so how
do I work the magic?

It essence I want the standard Exit menu item on Windows, and the
standard Quit menu item on Mac.

Thanks, Brendan.

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.