mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Python about box implemented. Slightly convoluted, since (a) we have
to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
This commit is contained in:
parent
c204c70c1a
commit
3469e997b4
5 changed files with 463 additions and 58 deletions
|
@ -351,6 +351,12 @@ Py_Main(argc, argv)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
** For reasons I don't fully understand we cannot insert our
|
||||
** menu earlier. Leave it here, we hope to be rid of Sioux soon anyway.
|
||||
*/
|
||||
PyMac_InitMenuBar();
|
||||
|
||||
Py_Initialize();
|
||||
|
||||
PySys_SetArgv(argc-1, argv+1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue