# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
# Changes made here will be lost when autosplit is run again.
#line 437 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/Cancel.al)"
# This procedure is invoked to cancel an extended selection in
# progress. If there is an extended selection in progress, it
# restores all of the items between the active one and the anchor
# to their previous selection state.
# w - The listbox widget.
if ($w->cget('-selectmode') ne 'extended' || !defined $Prev)
$first = $w->index('anchor');
$w->selectionClear($first,$last);
if (Tk::lsearch(\@Selection,$first) >= 0)
# end of Tk::Listbox::Cancel