Patch for SPE on OS X
Kevin Walzer <[email protected]> Sun, 19 Dec 2004 20:40:53 -0500
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Organization | WordTech Software |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm trying to put together a patch for the "about" menu on SPE so it will display correctly on OS X (under the "Application" menu as well as the "help" menu) but I'm having problems. This is the code that wxGlade uses in its main.py script: ~ # Mac tweaks... ~ if wxPlatform == "__WXMAC__": ~ wxApp.SetMacAboutMenuItemId(ABOUT_ID) ~ wxApp.SetMacPreferencesMenuItemId(PREFS_ID) ~ wxApp.SetMacExitMenuItemId(EXIT_ID) I've tried to do something similar in SPE, but I can't find the right place for it. I've tried the menu script, but I get an error saying that "wxapp" is undefined. Can anyone help modify this? - -- Cheers, Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:[email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBxi2kJmdQs+6YVcoRAlpKAJ4k2+58PPQTqqRIlCSRdUPBEzsS1QCffPyq DiunWpg74BsktZSZ2nr5aqo= =ckUY -----END PGP SIGNATURE-----