1 /////////////////////////////////////////////////////////////////////////////
2 // Name: ext/dataview/DataView.xs
3 // Purpose: XS for Wx::DataViewCtrl
4 // Author: Mattia Barbon
7 // RCS-ID: $Id: DataView.xs 2700 2009-12-13 11:25:50Z mbarbon $
8 // Copyright: (c) 2007-2009 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 #define PERL_NO_GET_CONTEXT
15 #include "cpp/wxapi.h"
16 #include "cpp/overload.h"
18 // re-include for client data
19 #include <wx/clntdata.h>
20 #include "cpp/helpers.h"
22 #define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
26 #include "cpp/constants.h"
27 #include "cpp/overload.h"
29 #define wxNullIconPtr (wxIcon*) &wxNullIcon
32 #define SEVT( NAME, ARGS ) wxPli_StdEvent( NAME, ARGS )
33 #define EVT( NAME, ARGS, ID ) wxPli_Event( NAME, ARGS, ID )
35 // !package: Wx::Event
37 // !parser: sub { $_[0] =~ m<^\s*S?EVT\(\s*(\w+)\s*\,> }
39 static wxPliEventDescription evts[] =
47 INIT_PLI_HELPERS( wx_pli_helpers );
49 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewCtrl.xsp |
51 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewModel.xsp |
53 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewIndexListModel.xsp |
55 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewColumn.xsp |
57 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewEvent.xsp |
59 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewItem.xsp |
61 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewModelNotifier.xsp |
63 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewRenderer.xsp |
65 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewTreeStore.xsp |
67 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp -t typemap.xsp XS/DataViewTreeCtrl.xsp |
69 MODULE=Wx__DataView PACKAGE=Wx::DataView
74 wxPli_set_events( evts );
76 #include "cpp/ovl_const.cpp"
79 #if defined(__WXMSW__)
81 #define XS( name ) WXXS( name )