diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-17 22:02:07 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-17 22:02:07 +0000 |
commit | 657ba27ddecd7393e6a93e5c7249573ed0174d72 (patch) | |
tree | 0654b3739ceafb9e070f981171639f422214c0d8 /Mac/Python/macmain.c | |
parent | fab7415831607dbddc0dbc55c2409a0fc9dd2cd4 (diff) | |
download | cpython-git-657ba27ddecd7393e6a93e5c7249573ed0174d72.tar.gz |
More changes to attempt to get the menubar back on exit. Without success:-(
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r-- | Mac/Python/macmain.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 09d86486d2..bb798f2b99 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; } |