summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-03-30 07:04:58 (GMT)
committerhobbs <hobbs>2001-03-30 07:04:58 (GMT)
commite78b2907e2a90740596501c5f4255b0a28512f51 (patch)
treead81f5e058f297dfda885ac7a2c04f51ea9479e5 /library
parenta1d705e8182bd01625f38fb35968c99e0f1dc214 (diff)
downloadtk-e78b2907e2a90740596501c5f4255b0a28512f51.zip
tk-e78b2907e2a90740596501c5f4255b0a28512f51.tar.gz
tk-e78b2907e2a90740596501c5f4255b0a28512f51.tar.bz2
* library/bgerror.tcl (bgerror): allow focus into details window
for Windows C&P to work. [Bug #220929]
Diffstat (limited to 'library')
-rw-r--r--library/bgerror.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/bgerror.tcl b/library/bgerror.tcl
index c2fd1df..51a9be3 100644
--- a/library/bgerror.tcl
+++ b/library/bgerror.tcl
@@ -9,8 +9,8 @@
# Copyright (c) 1998-2000 by Ajuba Solutions.
# All rights reserved.
#
-# RCS: @(#) $Id: bgerror.tcl,v 1.13 2000/07/17 21:07:54 ericm Exp $
-# $Id: bgerror.tcl,v 1.13 2000/07/17 21:07:54 ericm Exp $
+# RCS: @(#) $Id: bgerror.tcl,v 1.14 2001/03/30 07:04:58 hobbs Exp $
+# $Id: bgerror.tcl,v 1.14 2001/03/30 07:04:58 hobbs Exp $
option add *ErrorDialog.function.text [::msgcat::mc "Save To Log"] \
widgetDefault
@@ -172,6 +172,7 @@ proc bgerror err {
pack $W.text -side left -expand yes -fill both
$W.text insert 0.0 "$err\n$info"
$W.text mark set insert 0.0
+ bind $W.text <ButtonPress-1> { focus %W }
$W.text configure -state disabled
# 2. Fill the top part with bitmap and message