Kaydet (Commit) bc2fbc74 authored tarafından Jack Jansen's avatar Jack Jansen

Getting rid of one more TARGET_API_MAC_OSX.

üst af7dc8d8
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment