Skip to content

Commit

Permalink
HACK tkcon.tcl to get it running
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmiles committed Oct 21, 2024
1 parent 99921a9 commit 918b445
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tcltk/tkcon.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ catch {unset pkg file name version}
# Tk 8.4 makes previously exposed stuff private.
# FIX: Update tkcon to not rely on the private Tk code.
#
if {![llength [info globals tkPriv]]} {
::tk::unsupported::ExposePrivateVariable tkPriv
}
foreach cmd {SetCursor UpDownLine Transpose ScrollPages} {
if {![llength [info commands tkText$cmd]]} {
::tk::unsupported::ExposePrivateCommand tkText$cmd
}
}
#if {![llength [info globals tkPriv]]} {
# ::tk::unsupported::ExposePrivateVariable tkPriv
#}
#foreach cmd {SetCursor UpDownLine Transpose ScrollPages} {
# if {![llength [info commands tkText$cmd]]} {
# ::tk::unsupported::ExposePrivateCommand tkText$cmd
# }
#}

# Initialize the ::tkcon namespace
#
Expand Down

0 comments on commit 918b445

Please sign in to comment.