Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 5270:de9d0c5249b0 legacy-trunk
Changed the few old routine names still used to the new ones
Started working on MSL support
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 08 Apr 1997 15:27:00 +0000 |
| parents | 1ae7e2ebc2f3 |
| children | a56b44b35505 |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Tue Apr 08 15:26:03 1997 +0000 +++ b/Mac/Python/macmain.c Tue Apr 08 15:27:00 1997 +0000 @@ -127,7 +127,7 @@ /* Set default values */ #define SET_OPT_ITEM(num, var) \ GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \ - SetCtlValue(handle, (short)p->var); + SetControlValue(handle, (short)p->var); SET_OPT_ITEM(OPT_INSPECT, inspect); SET_OPT_ITEM(OPT_VERBOSE, verbose); @@ -146,7 +146,7 @@ if ( item == OPT_OK ) break; if ( item == OPT_CANCEL ) { - DisposDialog(dialog); + DisposeDialog(dialog); exit(0); } if ( item == OPT_CMDLINE ) { @@ -171,7 +171,7 @@ if ( item == (num) ) { \ p->var = !p->var; \ GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \ - SetCtlValue(handle, (short)p->var); \ + SetControlValue(handle, (short)p->var); \ } OPT_ITEM(OPT_INSPECT, inspect); @@ -184,7 +184,7 @@ #undef OPT_ITEM } - DisposDialog(dialog); + DisposeDialog(dialog); } /*
