summaryrefslogtreecommitdiffstats
path: root/library/demos/items.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2011-03-19 02:00:40 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2011-03-19 02:00:40 (GMT)
commit2d6d54e8eddb42bb1f0ea1d7e8f2a36f07b93cc8 (patch)
tree79c19473af43ce7fc7b827964122072262185961 /library/demos/items.tcl
parent25da577cdf47ba31dadd5f5234a2b3d60242f9f7 (diff)
downloadtk-2d6d54e8eddb42bb1f0ea1d7e8f2a36f07b93cc8.zip
tk-2d6d54e8eddb42bb1f0ea1d7e8f2a36f07b93cc8.tar.gz
tk-2d6d54e8eddb42bb1f0ea1d7e8f2a36f07b93cc8.tar.bz2
[Bug 3223850] - button remains stuck when disabled as depressed on XP
If a button is disabled while the state is pressed, then the release event handler did not remove the pressed state. Modified the handler to always remove the pressed state while only calling invoke if !disabled. Reported-by: Thomas MENEZ <thomasmenez@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'library/demos/items.tcl')
0 files changed, 0 insertions, 0 deletions