summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r--Mac/Python/macmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 09d8648..bb798f2 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -552,6 +552,8 @@ Py_Main(argc, argv)
void
PyMac_OutputSeen()
{
+ if ( console_output_state == STATE_UNKNOWN )
+ PyMac_InitMenuBar();
console_output_state = STATE_LASTREAD;
}
@@ -561,6 +563,8 @@ PyMac_OutputSeen()
void
PyMac_OutputNotSeen()
{
+ if ( console_output_state == STATE_UNKNOWN )
+ PyMac_InitMenuBar();
console_output_state = STATE_LASTWRITE;
}