summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-21 11:32:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-21 11:32:58 (GMT)
commitaea98214f4498a5a6aed07652911d3643f7331da (patch)
treeba0b3ebb09ecccdec3577fd0001f587eb84d043b /generic/tkMenu.h
parent8a887d823434875d32df819ad7791504415aa15f (diff)
downloadtk-aea98214f4498a5a6aed07652911d3643f7331da.zip
tk-aea98214f4498a5a6aed07652911d3643f7331da.tar.gz
tk-aea98214f4498a5a6aed07652911d3643f7331da.tar.bz2
Make better use of the full range for Menu indexes, if Tk is compiled with Tcl 9.0 headers.
Diffstat (limited to 'generic/tkMenu.h')
-rw-r--r--generic/tkMenu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenu.h b/generic/tkMenu.h
index 5449879..6843861 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -496,11 +496,11 @@ MODULE_SCOPE TkMenuReferences*TkFindMenuReferencesObj(Tcl_Interp *interp,
MODULE_SCOPE int TkFreeMenuReferences(TkMenuReferences *menuRefPtr);
MODULE_SCOPE Tcl_HashTable *TkGetMenuHashTable(Tcl_Interp *interp);
MODULE_SCOPE int TkGetMenuIndex(Tcl_Interp *interp, TkMenu *menuPtr,
- Tcl_Obj *objPtr, int lastOK, int *indexPtr);
+ Tcl_Obj *objPtr, int lastOK, TkSizeT *indexPtr);
MODULE_SCOPE void TkMenuInitializeDrawingFields(TkMenu *menuPtr);
MODULE_SCOPE void TkMenuInitializeEntryDrawingFields(TkMenuEntry *mePtr);
MODULE_SCOPE int TkInvokeMenu(Tcl_Interp *interp, TkMenu *menuPtr,
- int index);
+ TkSizeT index);
MODULE_SCOPE void TkMenuConfigureDrawOptions(TkMenu *menuPtr);
MODULE_SCOPE int TkMenuConfigureEntryDrawOptions(
TkMenuEntry *mePtr, TkSizeT index);