blob: c250b74330a438bbbeb82688c0e59df2424cccc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# NOTE: Derived from blib\lib\Tk.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk;
#line 497 "blib\lib\Tk.pm (autosplit into blib\lib\auto\Tk\Error.al)"
sub Error
{my $w = shift;
my $error = shift;
if (Exists($w))
{
my $grab = $w->grab('current');
$grab->Unbusy if (defined $grab);
}
chomp($error);
warn "Tk::Error: $error\n " . join("\n ",@_)."\n";
}
# end of Tk::Error
1;
|