mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Ported to Universal Header 2.0.1f (i.e. CW6)
This commit is contained in:
parent
a0e76bebd3
commit
7d0bc8343f
32 changed files with 519 additions and 490 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue