1 /////////////////////////////////////////////////////////////////////////////
2 // Name: ext/docview/cpp/dv_constants.cpp
3 // Purpose: constants for Wx::DocView
6 // RCS-ID: $Id: dv_constants.cpp 2057 2007-06-18 23:03:00Z mbarbon $
7 // Copyright: (c) 2002-2005 Mattia Barbon
8 // Licence: This program is free software; you can redistribute it and/or
9 // modify it under the same terms as Perl itself
10 /////////////////////////////////////////////////////////////////////////////
12 #include "cpp/constants.h"
14 double docview_constant( const char* name, int arg )
17 // !parser: sub { $_[0] =~ m<^\s*r\w*\(\s*(\w+)\s*\);\s*(?://(.*))?$> }
20 if( strEQ( name, #n ) ) \
23 WX_PL_CONSTANT_INIT();
24 // if( strlen( name ) >= 7 )
32 r( wxDEFAULT_TEMPLATE_FLAGS );
33 r( wxDEFAULT_DOCMAN_FLAGS );
40 r( wxTEMPLATE_VISIBLE );
41 r( wxTEMPLATE_INVISIBLE );
44 r( wxMAX_FILE_HISTORY );
49 WX_PL_CONSTANT_CLEANUP();
52 wxPlConstants docview_module( &docview_constant );