Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 16647:728c11562187 legacy-trunk
More changes to attempt to get the menubar back on exit. Without success:-(
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 17 Feb 2001 22:02:07 +0000 |
| parents | 9ce9e0342cc1 |
| children | a9485d404f05 |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Sat Feb 17 22:00:43 2001 +0000 +++ b/Mac/Python/macmain.c Sat Feb 17 22:02:07 2001 +0000 @@ -552,6 +552,8 @@ void PyMac_OutputSeen() { + if ( console_output_state == STATE_UNKNOWN ) + PyMac_InitMenuBar(); console_output_state = STATE_LASTREAD; } @@ -561,6 +563,8 @@ void PyMac_OutputNotSeen() { + if ( console_output_state == STATE_UNKNOWN ) + PyMac_InitMenuBar(); console_output_state = STATE_LASTWRITE; }
