diff options
author | hobbs <hobbs> | 2001-03-30 07:04:35 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-03-30 07:04:35 (GMT) |
commit | a1d705e8182bd01625f38fb35968c99e0f1dc214 (patch) | |
tree | b4d9c7ba50ad8058e8b5683853496cd89debdcd9 /library/tk.tcl | |
parent | 32c466a302400ecdf477d1703064975a54541087 (diff) | |
download | tk-a1d705e8182bd01625f38fb35968c99e0f1dc214.zip tk-a1d705e8182bd01625f38fb35968c99e0f1dc214.tar.gz tk-a1d705e8182bd01625f38fb35968c99e0f1dc214.tar.bz2 |
* library/tk.tcl: put a catch around adding <hpBackTab> to the
<<PrevWindow>> virtual event as it doesn't seem to work on all HP
systems. [Bug #411669]
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 1428a9d..b49362b 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -3,7 +3,7 @@ # Initialization script normally executed in the interpreter for each # Tk-based application. Arranges class bindings for widgets. # -# RCS: @(#) $Id: tk.tcl,v 1.27 2000/10/31 01:12:38 hobbs Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.28 2001/03/30 07:04:35 hobbs Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -291,7 +291,10 @@ switch $tcl_platform(platform) { switch $tcl_platform(os) { "IRIX" - "Linux" { event add <<PrevWindow>> <ISO_Left_Tab> } - "HP-UX" { event add <<PrevWindow>> <hpBackTab> } + "HP-UX" { + # This seems to be correct on *some* HP systems. + catch { event add <<PrevWindow>> <hpBackTab> } + } } } trace variable tk_strictMotif w tkEventMotifBindings |