summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2003-07-18 09:53:16 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2003-07-18 09:53:16 (GMT)
commit6b46324b09a59040b23c038fd1e2a590554a6fe4 (patch)
tree4dbda26557de9a03da6773c64f1e29c574504a4d /tests
parentc96dfbe414930a0c5d66e0e19c7c10925c5040b5 (diff)
downloadtk-6b46324b09a59040b23c038fd1e2a590554a6fe4.zip
tk-6b46324b09a59040b23c038fd1e2a590554a6fe4.tar.gz
tk-6b46324b09a59040b23c038fd1e2a590554a6fe4.tar.bz2
Fix for [Bug 702230], and what an evil bug that is!
Diffstat (limited to 'tests')
-rw-r--r--tests/panedwindow.test19
1 files changed, 18 insertions, 1 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index 67a695d..f2af591 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: panedwindow.test,v 1.8.2.1 2003/07/17 00:37:03 hobbs Exp $
+# RCS: @(#) $Id: panedwindow.test,v 1.8.2.2 2003/07/18 09:53:16 dkf Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -2495,6 +2495,23 @@ test panedwindow-30.1 {display on depths other than the default one} {
-cleanup {destroy .t}
-result {}
}
+test panedwindow-30.2 {display on depths other than the default one} {
+ -constraints {pseudocolor8 haveTruecolor24}
+ -body {
+ toplevel .t -visual {pseudocolor 8}
+ pack [frame .t.f -visual {truecolor 24}]
+ pack [panedwindow .t.f.p]
+ .t.f.p add [frame .t.f.p.f1 -width 5] [frame .t.f.p.f2 -width 5]
+ update
+ .t.f.p proxy place 1 1
+ update
+ .t.f.p proxy forget
+ update
+ # If we got here, we didn't crash and that's good
+ }
+ -cleanup {destroy .t}
+ -result {}
+}
# cleanup
::tcltest::cleanupTests