mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
HACK tkcon.tcl to get it running
This commit is contained in:
committed by
Tim Edwards
parent
c2a5a84a03
commit
76a515ca25
+8
-8
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user