summaryrefslogtreecommitdiffstats
path: root/Mac/Python/pyGUSISIOUX.cp
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/pyGUSISIOUX.cp')
-rw-r--r--Mac/Python/pyGUSISIOUX.cp13
1 files changed, 0 insertions, 13 deletions
diff --git a/Mac/Python/pyGUSISIOUX.cp b/Mac/Python/pyGUSISIOUX.cp
index 8a51618..4e63ebe 100644
--- a/Mac/Python/pyGUSISIOUX.cp
+++ b/Mac/Python/pyGUSISIOUX.cp
@@ -174,19 +174,6 @@ int GUSISIOUXSocket::isatty()
}
static bool input_pending()
{
-#if !TARGET_API_MAC_CARBON
- // Jack thinks that completely removing this code is a bit
- // too much...
- QHdrPtr eventQueue = LMGetEventQueue();
- EvQElPtr element = (EvQElPtr)eventQueue->qHead;
-
- // now, count the number of pending keyDown events.
- while (element != nil) {
- if (element->evtQWhat == keyDown || element->evtQWhat == autoKey)
- return true;
- element = (EvQElPtr)element->qLink;
- }
-#endif
return false;
}