1 #############################################################################
2 ## Name: ext/dnd/lib/Wx/DropSource.pm
3 ## Purpose: Wx::DropSource
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: DropSource.pm 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright: (c) 2001-2003, 2005 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
13 package Wx::DropSource;
18 if( !Wx::wxMSW() && !Wx::wxMAC() ) {
19 Wx::_match( @_, $Wx::_wwin_wico_wico_wico, 0, 1 ) && return $this->newIconEmpty( @_ );
20 Wx::_match( @_, $Wx::_wdat_wwin_wico_wico_wico, 1, 1 ) && return $this->newIconData( @_ );
22 Wx::_match( @_, $Wx::_wwin_wcur_wcur_wcur, 0, 1 ) && return $this->newCursorEmpty( @_ );
23 Wx::_match( @_, $Wx::_wdat_wwin_wcur_wcur_wcur, 1, 1 ) && return $this->newCursorData( @_ );
26 Wx::_croak Wx::_ovl_error;