Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from blib/lib/Tk.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package Tk; | |
5 | ||
6 | #line 628 "blib/lib/Tk.pm (autosplit into blib/lib/auto/Tk/Selection.al)" | |
7 | # These wrappers don't use method syntax so need to live | |
8 | # in same package as raw Tk routines are newXS'ed into. | |
9 | ||
10 | sub Selection | |
11 | {my $widget = shift; | |
12 | my $cmd = shift; | |
13 | croak 'Use SelectionOwn/SelectionOwner' if ($cmd eq 'own'); | |
14 | croak "Use Selection\u$cmd()"; | |
15 | } | |
16 | ||
17 | # end of Tk::Selection | |
18 | 1; |