Import Tk 8.6.11
This commit is contained in:
@@ -15,7 +15,7 @@ test bitmap-1.1 {Tk_AllocBitmapFromObj - converting internal reps} -constraints
|
||||
testbitmap
|
||||
} -body {
|
||||
set x gray25
|
||||
lindex $x 0
|
||||
lindex $x 0
|
||||
button .b -bitmap $x
|
||||
lindex $x 0
|
||||
testbitmap gray25
|
||||
@@ -54,12 +54,12 @@ test bitmap-1.3 {Tk_AllocBitmapFromObj - reuse existing bitmap} -constraints {
|
||||
test bitmap-2.1 {Tk_GetBitmap procedure} -body {
|
||||
button .b1 -bitmap bad_name
|
||||
} -cleanup {
|
||||
destroy .b1
|
||||
destroy .b1
|
||||
} -returnCodes error -result {bitmap "bad_name" not defined}
|
||||
test bitmap-2.2 {Tk_GetBitmap procedure} -body {
|
||||
button .b1 -bitmap @xyzzy
|
||||
} -cleanup {
|
||||
destroy .b1
|
||||
destroy .b1
|
||||
} -returnCodes error -result {error reading bitmap file "xyzzy"}
|
||||
|
||||
test bitmap-3.1 {Tk_FreeBitmapFromObj - reference counts} -constraints {
|
||||
|
||||
Reference in New Issue
Block a user