1 /////////////////////////////////////////////////////////////////////////////
2 // Name: ext/dnd/cpp/dn_constants.cpp
3 // Purpose: constants for Wx::DND
4 // Author: Mattia Barbon
7 // RCS-ID: $Id: dn_constants.cpp 2057 2007-06-18 23:03:00Z mbarbon $
8 // Copyright: (c) 2001-2003 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 #include "cpp/constants.h"
16 const int Get = wxDataObjectBase::Get;
17 const int Set = wxDataObjectBase::Set;
18 const int Both = wxDataObjectBase::Both;
20 double dnd_constant( const char* name, int arg )
23 // !parser: sub { $_[0] =~ m<^\s*r\w*\(\s*(\w+)\s*\);\s*(?://(.*))?$> }
26 if( strEQ( name, #n ) ) \
29 WX_PL_CONSTANT_INIT();
37 #if wxPERL_USE_DRAG_AND_DROP
46 r( wxDrag_AllowMove );
47 r( wxDrag_DefaultMove );
59 WX_PL_CONSTANT_CLEANUP();
62 wxPlConstants dnd_module( &dnd_constant );