summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-04-21 15:23:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-04-21 15:23:55 (GMT)
commit1c4e61462720b441467ab41c62d0c37143af45e7 (patch)
tree58e412cb39b322be47818a4c54341be163cf818b /Mac/Modules/dlg
parent02facaf90a39b0f2d3dafbca2ef17c8e8c678b10 (diff)
downloadcpython-1c4e61462720b441467ab41c62d0c37143af45e7.zip
cpython-1c4e61462720b441467ab41c62d0c37143af45e7.tar.gz
cpython-1c4e61462720b441467ab41c62d0c37143af45e7.tar.bz2
Re-generated from new (3.1) universal headers
Diffstat (limited to 'Mac/Modules/dlg')
-rw-r--r--Mac/Modules/dlg/Dlgmodule.c12
-rw-r--r--Mac/Modules/dlg/dlgscan.py5
2 files changed, 11 insertions, 6 deletions
diff --git a/Mac/Modules/dlg/Dlgmodule.c b/Mac/Modules/dlg/Dlgmodule.c
index 75f8b28..74542ef 100644
--- a/Mac/Modules/dlg/Dlgmodule.c
+++ b/Mac/Modules/dlg/Dlgmodule.c
@@ -545,17 +545,17 @@ static PyObject *DlgObj_SizeDialogItem(_self, _args)
PyObject *_res = NULL;
OSErr _err;
SInt16 inItemNo;
- SInt16 inHeight;
SInt16 inWidth;
+ SInt16 inHeight;
if (!PyArg_ParseTuple(_args, "hhh",
&inItemNo,
- &inHeight,
- &inWidth))
+ &inWidth,
+ &inHeight))
return NULL;
_err = SizeDialogItem(_self->ob_itself,
inItemNo,
- inHeight,
- inWidth);
+ inWidth,
+ inHeight);
if (_err != noErr) return PyMac_Error(_err);
Py_INCREF(Py_None);
_res = Py_None;
@@ -677,7 +677,7 @@ static PyMethodDef DlgObj_methods[] = {
{"MoveDialogItem", (PyCFunction)DlgObj_MoveDialogItem, 1,
"(SInt16 inItemNo, SInt16 inHoriz, SInt16 inVert) -> None"},
{"SizeDialogItem", (PyCFunction)DlgObj_SizeDialogItem, 1,
- "(SInt16 inItemNo, SInt16 inHeight, SInt16 inWidth) -> None"},
+ "(SInt16 inItemNo, SInt16 inWidth, SInt16 inHeight) -> None"},
{"GetDialogWindow", (PyCFunction)DlgObj_GetDialogWindow, 1,
"() -> (DialogPtr _rv)"},
{"GetDialogDefaultItem", (PyCFunction)DlgObj_GetDialogDefaultItem, 1,
diff --git a/Mac/Modules/dlg/dlgscan.py b/Mac/Modules/dlg/dlgscan.py
index 7ae1341..6ef502a 100644
--- a/Mac/Modules/dlg/dlgscan.py
+++ b/Mac/Modules/dlg/dlgscan.py
@@ -49,11 +49,16 @@ class MyScanner(Scanner):
'CouldDialog',
'FreeDialog',
'GetStdFilterProc',
+ 'GetDialogParent',
+ # Can't find these in the CW Pro 3 libraries
+ 'SetDialogMovableModal',
+ 'GetDialogControlNotificationProc',
]
def makeblacklisttypes(self):
return [
"AlertStdAlertParamPtr", # Too much work, for now
+ "QTModelessCallbackProcPtr",
]
def makerepairinstructions(self):