[spe.pycs.net] Patch for SPE on OS X

Kevin Walzer sw at wordtech-software.com
Mon Dec 20 02:40:53 CET 2004


-----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:sw at wordtech-software.com
-----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-----



More information about the Spe-user mailing list