summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:24:44 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-11-14 10:24:44 (GMT)
commit79559dcf4741990cf93f92c1eab738c8a8383e7a (patch)
tree7f4e969367d089c083973187697ba935a17e2cf4 /Mac
parentda38f2d6a3e7146b1cd5ac08f3e3f14f5920c449 (diff)
downloadcpython-79559dcf4741990cf93f92c1eab738c8a8383e7a.zip
cpython-79559dcf4741990cf93f92c1eab738c8a8383e7a.tar.gz
cpython-79559dcf4741990cf93f92c1eab738c8a8383e7a.tar.bz2
Initialize GUSI for MacTkPython
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macapplication.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Python/macapplication.c b/Mac/Python/macapplication.c
index 0028741..d7b1e2e 100644
--- a/Mac/Python/macapplication.c
+++ b/Mac/Python/macapplication.c
@@ -31,6 +31,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern void PyMac_InitApplication();
main() {
+#if defined(__MWERKS__) && defined(USE_TK)
+ PyTk_InitGUSI();
+#endif
#if defined(__MWERKS__) && defined(__CFM68K__)
printf("Hello, world!\n");
#endif