summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 22:43:57 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 22:43:57 +0000
commite98f7a52329529203722cde675477f11abafb425 (patch)
tree84627ae289b6128741c4d51bd8fd2bca2398adc6
parent2bfd184a5c95c01a7f806809d1f10d16e97878a4 (diff)
downloadcpython-e98f7a52329529203722cde675477f11abafb425.tar.gz
Getting rid of one more TARGET_API_MAC_OSX.
-rw-r--r--Mac/Modules/Nav.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c
index 54f852fb31..96c7c20439 100644
--- a/Mac/Modules/Nav.c
+++ b/Mac/Modules/Nav.c
@@ -56,13 +56,6 @@ my_eventProc(NavEventCallbackMessage callBackSelector,
return;
}
if ( pyfunc == Py_None ) {
-#if !TARGET_API_MAC_OSX
- /* Special case: give update events to the Python event handling code */
- if ( callBackSelector == kNavCBEvent &&
- callBackParms->eventData.eventDataParms.event->what == updateEvt)
- PyMac_HandleEvent(callBackParms->eventData.eventDataParms.event);
- /* Ignore others */
-#endif
return;
}
rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector,