summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.h
diff options
context:
space:
mode:
authorculler <culler>2019-01-15 14:00:45 (GMT)
committerculler <culler>2019-01-15 14:00:45 (GMT)
commit4330a830cd514bf17caac0cfe5b29fef47022df7 (patch)
tree668c9ed0e4c7ac335ebabf300ddbd8dbc5e186c1 /generic/tkMenu.h
parentfe7e4b1e7f825147345d7e42707be7d53b72c904 (diff)
downloadtk-4330a830cd514bf17caac0cfe5b29fef47022df7.zip
tk-4330a830cd514bf17caac0cfe5b29fef47022df7.tar.gz
tk-4330a830cd514bf17caac0cfe5b29fef47022df7.tar.bz2
Use TkGetMenuIndex to parse the index argument to the post command.
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 2c4e051..6d1fe5a 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -543,9 +543,9 @@ MODULE_SCOPE void TkpMenuInit(void);
MODULE_SCOPE int TkpMenuNewEntry(TkMenuEntry *mePtr);
MODULE_SCOPE int TkpNewMenu(TkMenu *menuPtr);
MODULE_SCOPE int TkpPostMenu(Tcl_Interp *interp, TkMenu *menuPtr,
- int x, int y, int entry);
+ int x, int y, int index);
MODULE_SCOPE int TkpPostTearoffMenu(Tcl_Interp *interp, TkMenu *menuPtr,
- int x, int y, int entry);
+ int x, int y, int index);
MODULE_SCOPE void TkpSetWindowMenuBar(Tk_Window tkwin, TkMenu *menuPtr);
#endif /* _TKMENU */