Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c4dd4 commit 569ba10Copy full SHA for 569ba10
1 file changed
Mac/Modules/Nav.c
@@ -60,11 +60,13 @@ my_eventProc(NavEventCallbackMessage callBackSelector,
60
return;
61
}
62
if ( pyfunc == Py_None ) {
63
+#if !TARGET_API_MAC_OSX
64
/* Special case: give update events to the Python event handling code */
65
if ( callBackSelector == kNavCBEvent &&
66
callBackParms->eventData.eventDataParms.event->what == updateEvt)
67
PyMac_HandleEvent(callBackParms->eventData.eventDataParms.event);
68
/* Ignore others */
69
+#endif
70
71
72
rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector,
0 commit comments