diff Mac/Python/macmain.c @ 4215:0410ed3808ee legacy-trunk

Python about box implemented. Slightly convoluted, since (a) we have to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
author Jack Jansen <jack.jansen@cwi.nl>
date Fri, 06 Sep 1996 00:30:45 +0000
parents b70baba1c789
children 84444ea3f5f6
line wrap: on
line diff
--- a/Mac/Python/macmain.c	Thu Sep 05 19:07:11 1996 +0000
+++ b/Mac/Python/macmain.c	Fri Sep 06 00:30:45 1996 +0000
@@ -351,6 +351,12 @@
 		}
 	}
 	
+	/*
+	** For reasons I don't fully understand we cannot insert our
+	** menu earlier. Leave it here, we hope to be rid of Sioux soon anyway.
+	*/
+	PyMac_InitMenuBar();
+	
 	Py_Initialize();
 	
 	PySys_SetArgv(argc-1, argv+1);