diff options
author | dgp <dgp@noemail.net> | 2008-12-09 21:22:54 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2008-12-09 21:22:54 (GMT) |
commit | 04941c46fb7522d90294249a460cdc286311339c (patch) | |
tree | e39ebc39fa16df5aad460109866ff73b8cbf2df6 /macosx/tkMacOSXMenu.c | |
parent | b9f13f543c36609021016a48ed8aadcf6227ee40 (diff) | |
download | tk-04941c46fb7522d90294249a460cdc286311339c.zip tk-04941c46fb7522d90294249a460cdc286311339c.tar.gz tk-04941c46fb7522d90294249a460cdc286311339c.tar.bz2 |
TIP 337
* generic/tkBind.c: Updated callers of Tcl_BackgroundError()
* generic/tkCanvas.c: to use the new routine
* generic/tkEntry.c: Tcl_BackgroundException() as appropriate.
* generic/tkImgBmap.c:
* generic/tkListbox.c:
* generic/tkSelect.c:
* generic/tkTextDisp.c:
* generic/tkTextWind.c:
* macosx/tkMacOSXHLEvents.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXWindowEvent.c:
* unix/tkUnixScale.c:
* unix/tkUnixWm.c:
* win/tkWinButton.c:
* win/tkWinMenu.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
FossilOrigin-Name: 8390c9df2a3de24d02b3414ba3ef502bc1349814
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 73ccbae..331befa 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.48 2008/12/07 16:36:26 das Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.49 2008/12/09 21:22:56 dgp Exp $ */ #include "tkMacOSXPrivate.h" @@ -2189,7 +2189,7 @@ EventuallyInvokeMenu ( if (code != TCL_OK && code != TCL_CONTINUE && code != TCL_BREAK) { Tcl_AddErrorInfo(realData->menuPtr->interp, "\n (menu invoke)"); - Tcl_BackgroundError(realData->menuPtr->interp); + Tcl_BackgroundException(realData->menuPtr->interp, code); } if (realData->menuPtr->tkwin) { @@ -4076,7 +4076,7 @@ TkMacOSXPreprocessMenu(void) && (code != TCL_BREAK)) { Tcl_AddErrorInfo(currentMenuBarInterp, "\n (menu preprocess)"); - Tcl_BackgroundError(currentMenuBarInterp); + Tcl_BackgroundException(currentMenuBarInterp, code); } Tcl_Release(currentMenuBarInterp); } |