diff options
Diffstat (limited to 'Mac/Modules/menu')
-rw-r--r-- | Mac/Modules/menu/Menumodule.c | 4 | ||||
-rw-r--r-- | Mac/Modules/menu/menugen.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Modules/menu/Menumodule.c b/Mac/Modules/menu/Menumodule.c index bb1cb79..3712691 100644 --- a/Mac/Modules/menu/Menumodule.c +++ b/Mac/Modules/menu/Menumodule.c @@ -382,7 +382,7 @@ static PyObject *MenuObj_GetItemStyle(_self, _args) { PyObject *_res = NULL; short item; - unsigned char chStyle; + Style chStyle; if (!PyArg_ParseTuple(_args, "h", &item)) return NULL; @@ -558,7 +558,7 @@ static PyMethodDef MenuObj_methods[] = { {"SetItemStyle", (PyCFunction)MenuObj_SetItemStyle, 1, "(short item, short chStyle) -> None"}, {"GetItemStyle", (PyCFunction)MenuObj_GetItemStyle, 1, - "(short item) -> (unsigned char chStyle)"}, + "(short item) -> (Style chStyle)"}, {"CalcMenuSize", (PyCFunction)MenuObj_CalcMenuSize, 1, "() -> None"}, {"CountMItems", (PyCFunction)MenuObj_CountMItems, 1, diff --git a/Mac/Modules/menu/menugen.py b/Mac/Modules/menu/menugen.py index c3f9636..2445d1e 100644 --- a/Mac/Modules/menu/menugen.py +++ b/Mac/Modules/menu/menugen.py @@ -1,4 +1,4 @@ -# Generated from 'Moes:CW5 GOLD \304:Metrowerks C/C++ \304:Headers \304:Universal Headers 2.0a3 \304:Menus.h' +# Generated from 'Moes:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h' f = Function(short, 'GetMBarHeight', ) @@ -174,7 +174,7 @@ methods.append(f) f = Method(void, 'GetItemStyle', (MenuRef, 'theMenu', InMode), (short, 'item', InMode), - (unsigned_char, 'chStyle', OutMode), + (Style, 'chStyle', OutMode), ) methods.append(f) |