mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
- Universal Headers 3 mods
- Started on menubar-restore code (but it still doesn't work 100%)
This commit is contained in:
parent
21f96872f2
commit
efaada75e4
1 changed files with 4 additions and 2 deletions
|
@ -183,6 +183,7 @@ PyMac_FixGUSIcd()
|
|||
** provide a dummy here.
|
||||
*/
|
||||
void SpinCursor(short x) { /* Dummy */ }
|
||||
void RotateCursor(short x) { /* Dummy */ }
|
||||
|
||||
/*
|
||||
** Replacement GUSI Spin function
|
||||
|
@ -392,7 +393,7 @@ scan_event_queue(flush)
|
|||
{
|
||||
register EvQElPtr q;
|
||||
|
||||
q = (EvQElPtr) GetEventQueue()->qHead;
|
||||
q = (EvQElPtr) LMGetEventQueue()->qHead;
|
||||
|
||||
for (; q; q = (EvQElPtr)q->qLink) {
|
||||
if (q->evtQWhat == keyDown &&
|
||||
|
@ -651,7 +652,8 @@ PyMac_RestoreMenuBar()
|
|||
if ( sioux_mbar ) {
|
||||
SetMenuBar(sioux_mbar);
|
||||
DrawMenuBar();
|
||||
}
|
||||
} else
|
||||
PyMac_InitMenuBar();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue