diff Mac/Python/macglue.c @ 7438:cd11690cb14b legacy-trunk

- Universal Headers 3 mods - Started on menubar-restore code (but it still doesn't work 100%)
author Jack Jansen <jack.jansen@cwi.nl>
date Fri, 20 Feb 1998 16:03:15 +0000
parents 9986272ce24a
children 93348e5a85a2
line wrap: on
line diff
--- a/Mac/Python/macglue.c	Fri Feb 20 16:02:09 1998 +0000
+++ b/Mac/Python/macglue.c	Fri Feb 20 16:03:15 1998 +0000
@@ -183,6 +183,7 @@
 ** provide a dummy here.
 */
 void SpinCursor(short x) { /* Dummy */ }
+void RotateCursor(short x) { /* Dummy */ }
 
 /*
 ** Replacement GUSI Spin function
@@ -392,7 +393,7 @@
 {
 	register EvQElPtr q;
 	
-	q = (EvQElPtr) GetEventQueue()->qHead;
+	q = (EvQElPtr) LMGetEventQueue()->qHead;
 	
 	for (; q; q = (EvQElPtr)q->qLink) {
 		if (q->evtQWhat == keyDown &&
@@ -651,7 +652,8 @@
 	if ( sioux_mbar ) {
 		SetMenuBar(sioux_mbar);
 		DrawMenuBar();
-	}
+	} else
+		PyMac_InitMenuBar();
 }