diff options
author | fvogel <fvogelnew1@free.fr> | 2022-04-10 20:36:33 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-04-10 20:36:33 (GMT) |
commit | 6b77225dcafc4523a84678f1d420e64b3759a405 (patch) | |
tree | 55fabde5f6bd19fd874fa8b245694ea491cc9bc3 /generic/tkMenu.h | |
parent | af2033da574bde2279b005cc9015d2fdbb7030eb (diff) | |
parent | deb6e2d6a1b578b89fa5633743dd760b473fa90e (diff) | |
download | tk-6b77225dcafc4523a84678f1d420e64b3759a405.zip tk-6b77225dcafc4523a84678f1d420e64b3759a405.tar.gz tk-6b77225dcafc4523a84678f1d420e64b3759a405.tar.bz2 |
Fix for [dc4c5573a6]: tk_popup entry index not working on unix. Thanks to cjmcdonald.
Diffstat (limited to 'generic/tkMenu.h')
-rw-r--r-- | generic/tkMenu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenu.h b/generic/tkMenu.h index 16ea507..522a00c 100644 --- a/generic/tkMenu.h +++ b/generic/tkMenu.h @@ -515,7 +515,7 @@ MODULE_SCOPE int TkPostCommand(TkMenu *menuPtr); MODULE_SCOPE int TkPostSubmenu(Tcl_Interp *interp, TkMenu *menuPtr, TkMenuEntry *mePtr); MODULE_SCOPE int TkPostTearoffMenu(Tcl_Interp *interp, TkMenu *menuPtr, - int x, int y); + int x, int y); MODULE_SCOPE int TkPreprocessMenu(TkMenu *menuPtr); MODULE_SCOPE void TkRecomputeMenu(TkMenu *menuPtr); @@ -540,7 +540,7 @@ MODULE_SCOPE int TkpNewMenu(TkMenu *menuPtr); MODULE_SCOPE int TkpPostMenu(Tcl_Interp *interp, TkMenu *menuPtr, int x, int y, int index); MODULE_SCOPE int TkpPostTearoffMenu(Tcl_Interp *interp, TkMenu *menuPtr, - int x, int y, int index); + int x, int y, int index); MODULE_SCOPE void TkpSetWindowMenuBar(Tk_Window tkwin, TkMenu *menuPtr); #endif /* _TKMENU */ |