diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/auto/Tk/Selection.al')
-rw-r--r-- | Master/tlpkg/tlperl/lib/auto/Tk/Selection.al | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/auto/Tk/Selection.al b/Master/tlpkg/tlperl/lib/auto/Tk/Selection.al new file mode 100644 index 00000000000..965dae3cc22 --- /dev/null +++ b/Master/tlpkg/tlperl/lib/auto/Tk/Selection.al @@ -0,0 +1,18 @@ +# NOTE: Derived from blib\lib\Tk.pm. +# Changes made here will be lost when autosplit is run again. +# See AutoSplit.pm. +package Tk; + +#line 718 "blib\lib\Tk.pm (autosplit into blib\lib\auto\Tk\Selection.al)" +# These wrappers don't use method syntax so need to live +# in same package as raw Tk routines are newXS'ed into. + +sub Selection +{my $widget = shift; + my $cmd = shift; + croak 'Use SelectionOwn/SelectionOwner' if ($cmd eq 'own'); + croak "Use Selection\u$cmd()"; +} + +# end of Tk::Selection +1; |