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.cp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Python/pyGUSISIOUX.cp b/Mac/Python/pyGUSISIOUX.cp
index 795e10e..f26216b 100644
--- a/Mac/Python/pyGUSISIOUX.cp
+++ b/Mac/Python/pyGUSISIOUX.cp
@@ -102,6 +102,7 @@ GUSISIOUXSocket::Initialize()
GUSISetHook(GUSI_EventHook+diskEvt, (GUSIHook)SIOUXHandleOneEvent);
GUSISetHook(GUSI_EventHook+activateEvt, (GUSIHook)SIOUXHandleOneEvent);
GUSISetHook(GUSI_EventHook+osEvt, (GUSIHook)SIOUXHandleOneEvent);
+ PyMac_InitMenuBar();
}
GUSISIOUXSocket::~GUSISIOUXSocket()
{
@@ -113,6 +114,7 @@ ssize_t GUSISIOUXSocket::read(const GUSIScatterer & buffer)
if ( !initialized ) Initialize();
GUSIStdioFlush();
PyMac_OutputSeen();
+ PyMac_RaiseConsoleWindow();
return buffer.SetLength(
ReadCharsFromConsole((char *) buffer.Buffer(), (int)buffer.Length()));
GUSIContext::Yield(kGUSIPoll);