summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-02-25 15:45:21 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-02-25 15:45:21 (GMT)
commitd6b6d88505e3d499ac8e2e4d5c0b45c9a91fa743 (patch)
tree0e44772391aaf3e59c7cf84bfaaace1a138cdd24
parentbfb77a07cb12ec546ea81340b8a6bff52e13a743 (diff)
downloadcpython-d6b6d88505e3d499ac8e2e4d5c0b45c9a91fa743.zip
cpython-d6b6d88505e3d499ac8e2e4d5c0b45c9a91fa743.tar.gz
cpython-d6b6d88505e3d499ac8e2e4d5c0b45c9a91fa743.tar.bz2
Regerated: Style and StyleParameter are different beasts
-rw-r--r--Mac/Modules/menu/Menumodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/menu/Menumodule.c b/Mac/Modules/menu/Menumodule.c
index ee3becb..c5d90ee 100644
--- a/Mac/Modules/menu/Menumodule.c
+++ b/Mac/Modules/menu/Menumodule.c
@@ -358,7 +358,7 @@ static PyObject *MenuObj_SetItemStyle(_self, _args)
{
PyObject *_res = NULL;
short item;
- Style chStyle;
+ StyleParameter chStyle;
if (!PyArg_ParseTuple(_args, "hh",
&item,
&chStyle))
@@ -948,7 +948,7 @@ static PyMethodDef MenuObj_methods[] = {
{"GetItemIcon", (PyCFunction)MenuObj_GetItemIcon, 1,
"(short item) -> (short iconIndex)"},
{"SetItemStyle", (PyCFunction)MenuObj_SetItemStyle, 1,
- "(short item, Style chStyle) -> None"},
+ "(short item, StyleParameter chStyle) -> None"},
{"GetItemStyle", (PyCFunction)MenuObj_GetItemStyle, 1,
"(short item) -> (Style chStyle)"},
{"CalcMenuSize", (PyCFunction)MenuObj_CalcMenuSize, 1,