We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d20e601 commit a09f789Copy full SHA for a09f789
library/fontchooser.tcl
@@ -172,7 +172,7 @@ proc ::tk::fontchooser::Create {} {
172
if {![winfo exists $S(W)]} {
173
toplevel $S(W) -class TkFontDialog
174
if {[package provide tcltest] ne {}} {
175
- set ::tk_dialog $S(W)
+ set ::tk::test::dialog::tk_dialog $S(W)
176
}
177
wm withdraw $S(W)
178
wm title $S(W) $S(-title)
tests/fontchooser.test
@@ -8,6 +8,7 @@ tcltest::loadTestedCommands
8
9
# Import utility procs for specific functional areas
10
namespace import -force ::tk::test::dialog::*
11
+upvar #0 ::tk::test::dialog::tk_dialog tk_dialog
12
set applyFontCmd [list testDialogFont set]
13
14
proc Click {button} {
0 commit comments