# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
# Changes made here will be lost when autosplit is run again.
#line 524 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/getSelected.al)"
foreach $i ($w->curselection)
push(@result,$w->get($i));
return (wantarray) ? @result : $result[0];
# end of Tk::Listbox::getSelected