[Python-checkins] CVS: python/dist/src/Mac/Modules Nav.c,1.13,1.14

Jack Jansen jackjansen@users.sourceforge.net
Sat, 01 Sep 2001 17:08:18 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv8279

Modified Files:
	Nav.c 
Log Message:
Don't call PyMac_HandleEvent in unix-Python


Index: Nav.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/Nav.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Nav.c	2001/05/22 21:48:40	1.13
--- Nav.c	2001/09/02 00:08:16	1.14
***************
*** 61,64 ****
--- 61,65 ----
  	}
  	if ( pyfunc == Py_None ) {
+ #if !TARGET_API_MAC_OSX
  		/* Special case: give update events to the Python event handling code */
  		if ( callBackSelector == kNavCBEvent && 
***************
*** 66,69 ****
--- 67,71 ----
  			PyMac_HandleEvent(callBackParms->eventData.eventDataParms.event);
  		/* Ignore others */
+ #endif
  		return;
  	}