File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ upvar #0 ::tk::test::dialog::testDialog testDialog
1212set applyFontCmd [list testDialogFont set]
1313
1414proc Click {button} {
15- upvar #0 ::tk::test::dialog:: testDialog testDialog
15+ upvar #0 testDialog testDialog
1616 switch -exact -- $button {
1717 ok { $testDialog.ok invoke }
1818 cancel { $testDialog.cancel invoke }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ testConstraint english [expr {
3232set initialDir [tcltest ::temporaryDirectory]
3333
3434proc Click {button} {
35- upvar #0 ::tk::test::dialog:: testDialog testDialog
35+ upvar #0 testDialog testDialog
3636 switch -exact -- $button {
3737 ok { set button 1 }
3838 cancel { set button 2 }
@@ -42,7 +42,7 @@ proc Click {button} {
4242}
4343
4444proc GetText {id} {
45- upvar #0 ::tk::test::dialog:: testDialog testDialog
45+ upvar #0 testDialog testDialog
4646 switch -exact -- $id {
4747 ok { set id 1 }
4848 cancel { set id 2 }
@@ -51,7 +51,7 @@ proc GetText {id} {
5151}
5252
5353proc SetText {id text} {
54- upvar #0 ::tk::test::dialog:: testDialog testDialog
54+ upvar #0 testDialog testDialog
5555 return [testwinevent $testDialog $id WM_SETTEXT $text ]
5656}
5757
You can’t perform that action at this time.
0 commit comments