1 /////////////////////////////////////////////////////////////////////////////
2 // Name: ext/html/Html.xs
3 // Purpose: XS for Wx::Html*
4 // Author: Mattia Barbon
7 // RCS-ID: $Id: Html.xs 2700 2009-12-13 11:25:50Z mbarbon $
8 // Copyright: (c) 2001-2004, 2006, 2008-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 <wx/html/htmlwin.h>
20 #define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
23 #define SEVT( NAME, ARGS ) wxPli_StdEvent( NAME, ARGS )
24 #define EVT( NAME, ARGS, ID ) wxPli_Event( NAME, ARGS, ID )
26 // !package: Wx::Event
28 // !parser: sub { $_[0] =~ m<^\s*S?EVT\(\s*(\w+)\s*\,> }
30 static wxPliEventDescription evts[] =
32 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
33 EVT( EVT_HTML_CELL_CLICKED, 3, wxEVT_COMMAND_HTML_CELL_CLICKED )
34 EVT( EVT_HTML_CELL_HOVER, 3, wxEVT_COMMAND_HTML_CELL_HOVER )
35 EVT( EVT_HTML_LINK_CLICKED, 3, wxEVT_COMMAND_HTML_LINK_CLICKED )
43 INIT_PLI_HELPERS( wx_pli_helpers );
45 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlWindow.xs |
47 INCLUDE: XS/HtmlHelpController.xs
49 #if wxPERL_USE_PRINTING_ARCHITECTURE
51 INCLUDE: XS/HtmlEasyPrinting.xs
52 INCLUDE: XS/HtmlDCRenderer.xs
56 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlParser.xsp |
58 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTagHandler.xsp |
60 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTag.xsp |
62 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlCell.xsp |
64 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlListBox.xsp |
66 #include "cpp/ht_constants.cpp"
67 #include "cpp/ovl_const.cpp"
70 #if defined(__WXMSW__)
72 #define XS( name ) WXXS( name )