Error: megawidget initialization error: expected integer but got "--1"
Status: Beta
Brought to you by:
cfelaco
Hi,
starting the callTree feature gives the error message:
megawidget initialization error: expected integer but got "--1"
Reason: a "incr xyz -$x;" is called with x = -1
The attached patch corrects the two source lines where this occurs so they calculate the (hopefully) correct result.
Also the problem with tkCancelRepeat is corrected - I added the line:
tk::unsupported::ExposePrivateCommand tkCancelRepeat
in widget.tcl
kind regards
Bernhard