Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb77a0 commit d6b6d88Copy full SHA for d6b6d88
1 file changed
Mac/Modules/menu/Menumodule.c
@@ -358,7 +358,7 @@ static PyObject *MenuObj_SetItemStyle(_self, _args)
358
{
359
PyObject *_res = NULL;
360
short item;
361
- Style chStyle;
+ StyleParameter chStyle;
362
if (!PyArg_ParseTuple(_args, "hh",
363
&item,
364
&chStyle))
@@ -948,7 +948,7 @@ static PyMethodDef MenuObj_methods[] = {
948
{"GetItemIcon", (PyCFunction)MenuObj_GetItemIcon, 1,
949
"(short item) -> (short iconIndex)"},
950
{"SetItemStyle", (PyCFunction)MenuObj_SetItemStyle, 1,
951
- "(short item, Style chStyle) -> None"},
+ "(short item, StyleParameter chStyle) -> None"},
952
{"GetItemStyle", (PyCFunction)MenuObj_GetItemStyle, 1,
953
"(short item) -> (Style chStyle)"},
954
{"CalcMenuSize", (PyCFunction)MenuObj_CalcMenuSize, 1,
0 commit comments