1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
/////////////////////////////////////////////////////////////////////////////
// Name: ext/propgrid/PropertyGrid.xs
// Purpose: XS for Wx::PropertyGrid
// Author: Mark Dootson
// Modified by:
// Created: 01/03/2012
// SVN-ID: $Id: RichText.xs 3134 2012-02-27 23:15:23Z mdootson $
// Copyright: (c) 2012 Mattia Barbon
// Licence: This program is free software; you can redistribute it and/or
// modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////
#define PERL_NO_GET_CONTEXT
#include "cpp/wxapi.h"
#include "cpp/constants.h"
#include "cpp/overload.h"
#undef THIS
#if WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_PROPGRID
#include <wx/propgrid/propgrid.h>
#include <wx/propgrid/advprops.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/editors.h>
#include <wx/propgrid/props.h>
#include <wx/propgrid/propgriddefs.h>
#include <wx/statusbr.h>
#include <cpp/propgrid_declares.h>
#include "cpp/helpers.h"
#include "cpp/array_helpers.h"
#define wxNullColourPtr (wxColour*)&wxNullColour
#define wxNullPropertyPtr (wxPGProperty*)&wxNullProperty
#define wxNullBitmapPtr (wxBitmap*)&wxNullBitmap
#define wxPerl_build_default_propertyflags wxPG_ITERATE_PROPERTIES|wxPG_ITERATE_HIDDEN|wxPG_ITERATE_CATEGORIES
#endif
MODULE=Wx__PropertyGrid
BOOT:
INIT_PLI_HELPERS( wx_pli_helpers );
#if WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_PROPGRID
##
##
##
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PropertyGrid.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PGCell.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PGCellRenderer.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PGEditor.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PGProperty.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PropertyGridEvent.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PropertyGridManager.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PropertyGridPage.xsp
INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/PropertyGridPageState.xsp
MODULE=Wx__PropertyGrid PACKAGE=Wx::PropertyGrid
## wxPerl implementations
## Cached strings
wxString
_get_wxPG_ATTR_UNITS()
CODE:
RETVAL = wxPG_ATTR_UNITS;
OUTPUT: RETVAL
wxString
_get_wxPG_ATTR_HINT()
CODE:
RETVAL = wxPG_ATTR_HINT;
OUTPUT: RETVAL
wxString
_get_wxPG_ATTR_INLINE_HELP()
CODE:
RETVAL = wxPG_ATTR_INLINE_HELP;
OUTPUT: RETVAL
wxString
_get_wxPG_ATTR_DEFAULT_VALUE()
CODE:
RETVAL = wxPG_ATTR_DEFAULT_VALUE;
OUTPUT: RETVAL
wxString
_get_wxPG_ATTR_MIN()
CODE:
RETVAL = wxPG_ATTR_MIN;
OUTPUT: RETVAL
wxString
_get_wxPG_ATTR_MAX()
CODE:
RETVAL = wxPG_ATTR_MAX;
OUTPUT: RETVAL
#include "cpp/ovl_const.cpp"
#include <cpp/propgrid_constants.cpp>
#endif
# //FIXME//tricky
#if defined(__WXMSW__)
#undef XS
#define XS( name ) WXXS( name )
#endif
MODULE=Wx__PropertyGrid
|