Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / html / Html.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of Html.xs. Do not edit this file, edit Html.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        ext/html/Html.xs
11 // Purpose:     XS for Wx::Html*
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     10/03/2001
15 // RCS-ID:      $Id: Html.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright:   (c) 2001-2004, 2006, 2008-2009 Mattia Barbon
17 // Licence:     This program is free software; you can redistribute it and/or
18 //              modify it under the same terms as Perl itself
19 /////////////////////////////////////////////////////////////////////////////
20
21 #define PERL_NO_GET_CONTEXT
22
23 #include "cpp/wxapi.h"
24 #include <wx/html/htmlwin.h>
25
26 #undef THIS
27
28 #define wxDefaultValidatorPtr (wxValidator*)&wxDefaultValidator
29
30 // event macros
31 #define SEVT( NAME, ARGS )    wxPli_StdEvent( NAME, ARGS )
32 #define EVT( NAME, ARGS, ID ) wxPli_Event( NAME, ARGS, ID )
33
34 // !package: Wx::Event
35 // !tag:
36 // !parser: sub { $_[0] =~ m<^\s*S?EVT\(\s*(\w+)\s*\,> }
37
38 static wxPliEventDescription evts[] =
39 {
40 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
41     EVT( EVT_HTML_CELL_CLICKED, 3, wxEVT_COMMAND_HTML_CELL_CLICKED )
42     EVT( EVT_HTML_CELL_HOVER, 3, wxEVT_COMMAND_HTML_CELL_HOVER )
43     EVT( EVT_HTML_LINK_CLICKED, 3, wxEVT_COMMAND_HTML_LINK_CLICKED )
44 #endif
45     { 0, 0, 0 }
46 };
47
48 #ifndef PERL_UNUSED_VAR
49 #  define PERL_UNUSED_VAR(var) if (0) var = var
50 #endif
51
52 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
53 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
54
55 /* prototype to pass -Wmissing-prototypes */
56 STATIC void
57 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
58
59 STATIC void
60 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
61 {
62     const GV *const gv = CvGV(cv);
63
64     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
65
66     if (gv) {
67         const char *const gvname = GvNAME(gv);
68         const HV *const stash = GvSTASH(gv);
69         const char *const hvname = stash ? HvNAME(stash) : NULL;
70
71         if (hvname)
72             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
73         else
74             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
75     } else {
76         /* Pants. I don't think that it should be possible to get here. */
77         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
78     }
79 }
80 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
81
82 #ifdef PERL_IMPLICIT_CONTEXT
83 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
84 #else
85 #define croak_xs_usage          S_croak_xs_usage
86 #endif
87
88 #endif
89
90 /* NOTE: the prototype of newXSproto() is different in versions of perls,
91  * so we define a portable version of newXSproto()
92  */
93 #ifdef newXS_flags
94 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
95 #else
96 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
97 #endif /* !defined(newXS_flags) */
98
99
100 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlWindow.xs |' from 'Html.xs' */
101
102 #include <wx/html/htmlwin.h>
103 #include <wx/frame.h>
104 #include "cpp/htmlwindow.h"
105 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
106 #define XSubPPtmpAAAA 1
107
108
109 XS(XS_Wx__HtmlCellEvent_GetCell); /* prototype to pass -Wmissing-prototypes */
110 XS(XS_Wx__HtmlCellEvent_GetCell)
111 {
112 #ifdef dVAR
113     dVAR; dXSARGS;
114 #else
115     dXSARGS;
116 #endif
117     if (items != 1)
118        croak_xs_usage(cv,  "THIS");
119     {
120         wxHtmlCellEvent *    THIS = (wxHtmlCellEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCellEvent" );
121         wxHtmlCell *    RETVAL;
122
123         RETVAL = THIS->GetCell();
124         ST(0) = sv_newmortal();
125     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
126
127     }
128     XSRETURN(1);
129 }
130
131
132 XS(XS_Wx__HtmlCellEvent_GetPoint); /* prototype to pass -Wmissing-prototypes */
133 XS(XS_Wx__HtmlCellEvent_GetPoint)
134 {
135 #ifdef dVAR
136     dVAR; dXSARGS;
137 #else
138     dXSARGS;
139 #endif
140     if (items != 1)
141        croak_xs_usage(cv,  "THIS");
142     {
143         wxHtmlCellEvent *    THIS = (wxHtmlCellEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCellEvent" );
144         wxPoint RETVAL;
145
146         RETVAL = THIS->GetPoint();
147         ST(0) = sv_newmortal();
148     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
149
150     }
151     XSRETURN(1);
152 }
153
154
155 XS(XS_Wx__HtmlCellEvent_GetMouseEvent); /* prototype to pass -Wmissing-prototypes */
156 XS(XS_Wx__HtmlCellEvent_GetMouseEvent)
157 {
158 #ifdef dVAR
159     dVAR; dXSARGS;
160 #else
161     dXSARGS;
162 #endif
163     if (items != 1)
164        croak_xs_usage(cv,  "THIS");
165     {
166         wxHtmlCellEvent *    THIS = (wxHtmlCellEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCellEvent" );
167         wxMouseEvent *  RETVAL;
168     RETVAL = new wxMouseEvent( THIS->GetMouseEvent() );
169         ST(0) = sv_newmortal();
170     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
171     wxPli_thread_sv_register( aTHX_ "Wx::MouseEvent", RETVAL, ST(0) );
172
173     }
174     XSRETURN(1);
175 }
176
177
178 XS(XS_Wx__HtmlCellEvent_SetLinkClicked); /* prototype to pass -Wmissing-prototypes */
179 XS(XS_Wx__HtmlCellEvent_SetLinkClicked)
180 {
181 #ifdef dVAR
182     dVAR; dXSARGS;
183 #else
184     dXSARGS;
185 #endif
186     if (items != 2)
187        croak_xs_usage(cv,  "THIS, linkclicked");
188     {
189         bool    linkclicked = (bool)SvTRUE(ST(1));
190         wxHtmlCellEvent *    THIS = (wxHtmlCellEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCellEvent" );
191
192         THIS->SetLinkClicked(linkclicked);
193     }
194     XSRETURN_EMPTY;
195 }
196
197
198 XS(XS_Wx__HtmlCellEvent_GetLinkClicked); /* prototype to pass -Wmissing-prototypes */
199 XS(XS_Wx__HtmlCellEvent_GetLinkClicked)
200 {
201 #ifdef dVAR
202     dVAR; dXSARGS;
203 #else
204     dXSARGS;
205 #endif
206     if (items != 1)
207        croak_xs_usage(cv,  "THIS");
208     {
209         wxHtmlCellEvent *    THIS = (wxHtmlCellEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCellEvent" );
210         bool    RETVAL;
211
212         RETVAL = THIS->GetLinkClicked();
213         ST(0) = boolSV(RETVAL);
214         sv_2mortal(ST(0));
215     }
216     XSRETURN(1);
217 }
218
219
220 XS(XS_Wx__HtmlLinkEvent_GetLinkInfo); /* prototype to pass -Wmissing-prototypes */
221 XS(XS_Wx__HtmlLinkEvent_GetLinkInfo)
222 {
223 #ifdef dVAR
224     dVAR; dXSARGS;
225 #else
226     dXSARGS;
227 #endif
228     if (items != 1)
229        croak_xs_usage(cv,  "THIS");
230     {
231         wxHtmlLinkEvent *    THIS = (wxHtmlLinkEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlLinkEvent" );
232         wxHtmlLinkInfo *        RETVAL;
233     RETVAL = new wxHtmlLinkInfo( THIS->GetLinkInfo() );
234         ST(0) = sv_newmortal();
235     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlLinkInfo" );
236
237     }
238     XSRETURN(1);
239 }
240
241 #endif
242
243 XS(XS_Wx__HtmlLinkInfo_GetEvent); /* prototype to pass -Wmissing-prototypes */
244 XS(XS_Wx__HtmlLinkInfo_GetEvent)
245 {
246 #ifdef dVAR
247     dVAR; dXSARGS;
248 #else
249     dXSARGS;
250 #endif
251     if (items != 1)
252        croak_xs_usage(cv,  "THIS");
253     {
254         wxHtmlLinkInfo *    THIS = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlLinkInfo" );
255         wxMouseEvent *  RETVAL;
256     RETVAL = (wxMouseEvent*) THIS->GetEvent();
257         ST(0) = sv_newmortal();
258     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
259     wxPli_thread_sv_register( aTHX_ "Wx::MouseEvent", RETVAL, ST(0) );
260
261     }
262     XSRETURN(1);
263 }
264
265
266 XS(XS_Wx__HtmlLinkInfo_GetHtmlCell); /* prototype to pass -Wmissing-prototypes */
267 XS(XS_Wx__HtmlLinkInfo_GetHtmlCell)
268 {
269 #ifdef dVAR
270     dVAR; dXSARGS;
271 #else
272     dXSARGS;
273 #endif
274     if (items != 1)
275        croak_xs_usage(cv,  "THIS");
276     {
277         wxHtmlLinkInfo *    THIS = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlLinkInfo" );
278         wxHtmlCell *    RETVAL;
279     RETVAL = (wxHtmlCell*) THIS->GetHtmlCell();
280         ST(0) = sv_newmortal();
281     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
282
283     }
284     XSRETURN(1);
285 }
286
287
288 XS(XS_Wx__HtmlLinkInfo_GetHref); /* prototype to pass -Wmissing-prototypes */
289 XS(XS_Wx__HtmlLinkInfo_GetHref)
290 {
291 #ifdef dVAR
292     dVAR; dXSARGS;
293 #else
294     dXSARGS;
295 #endif
296     if (items != 1)
297        croak_xs_usage(cv,  "THIS");
298     {
299         wxHtmlLinkInfo *    THIS = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlLinkInfo" );
300         wxString        RETVAL;
301
302         RETVAL = THIS->GetHref();
303         ST(0) = sv_newmortal();
304     WXSTRING_OUTPUT( RETVAL, ST(0) );
305
306     }
307     XSRETURN(1);
308 }
309
310
311 XS(XS_Wx__HtmlLinkInfo_GetTarget); /* prototype to pass -Wmissing-prototypes */
312 XS(XS_Wx__HtmlLinkInfo_GetTarget)
313 {
314 #ifdef dVAR
315     dVAR; dXSARGS;
316 #else
317     dXSARGS;
318 #endif
319     if (items != 1)
320        croak_xs_usage(cv,  "THIS");
321     {
322         wxHtmlLinkInfo *    THIS = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlLinkInfo" );
323         wxString        RETVAL;
324
325         RETVAL = THIS->GetTarget();
326         ST(0) = sv_newmortal();
327     WXSTRING_OUTPUT( RETVAL, ST(0) );
328
329     }
330     XSRETURN(1);
331 }
332
333
334 XS(XS_Wx__HtmlWindow_new); /* prototype to pass -Wmissing-prototypes */
335 XS(XS_Wx__HtmlWindow_new)
336 {
337 #ifdef dVAR
338     dVAR; dXSARGS;
339 #else
340     dXSARGS;
341 #endif
342     if (items < 2 || items > 7)
343        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxHW_SCROLLBAR_AUTO, name = wxT(\"htmlWindow\")");
344     {
345         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
346         wxWindowID      id;
347         wxPoint pos;
348         wxSize  size;
349         long    style;
350         wxString        name;
351         char *  CLASS = (char *)SvPV_nolen(ST(0));
352         wxHtmlWindow *  RETVAL;
353
354         if (items < 3)
355             id = wxID_ANY;
356         else {
357     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
358         }
359
360         if (items < 4)
361             pos = wxDefaultPosition;
362         else {
363     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
364         }
365
366         if (items < 5)
367             size = wxDefaultSize;
368         else {
369     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
370         }
371
372         if (items < 6)
373             style = wxHW_SCROLLBAR_AUTO;
374         else {
375             style = (long)SvIV(ST(5));
376         }
377
378         if (items < 7)
379             name = wxT("htmlWindow");
380         else {
381     WXSTRING_INPUT( name, wxString, ST(6) );
382         }
383     RETVAL = new wxPliHtmlWindow( CLASS, parent, id, pos, size, style, name );
384         ST(0) = sv_newmortal();
385     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
386
387     }
388     XSRETURN(1);
389 }
390
391
392 XS(XS_Wx__HtmlWindow_AppendToPage); /* prototype to pass -Wmissing-prototypes */
393 XS(XS_Wx__HtmlWindow_AppendToPage)
394 {
395 #ifdef dVAR
396     dVAR; dXSARGS;
397 #else
398     dXSARGS;
399 #endif
400     if (items != 2)
401        croak_xs_usage(cv,  "THIS, source");
402     {
403         wxString        source;
404         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
405         bool    RETVAL;
406
407     WXSTRING_INPUT( source, wxString, ST(1) );
408
409         RETVAL = THIS->AppendToPage(source);
410         ST(0) = boolSV(RETVAL);
411         sv_2mortal(ST(0));
412     }
413     XSRETURN(1);
414 }
415
416
417 XS(XS_Wx__HtmlWindow_GetOpenedAnchor); /* prototype to pass -Wmissing-prototypes */
418 XS(XS_Wx__HtmlWindow_GetOpenedAnchor)
419 {
420 #ifdef dVAR
421     dVAR; dXSARGS;
422 #else
423     dXSARGS;
424 #endif
425     if (items != 1)
426        croak_xs_usage(cv,  "THIS");
427     {
428         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
429         wxString        RETVAL;
430
431         RETVAL = THIS->GetOpenedAnchor();
432         ST(0) = sv_newmortal();
433     WXSTRING_OUTPUT( RETVAL, ST(0) );
434
435     }
436     XSRETURN(1);
437 }
438
439
440 XS(XS_Wx__HtmlWindow_GetOpenedPage); /* prototype to pass -Wmissing-prototypes */
441 XS(XS_Wx__HtmlWindow_GetOpenedPage)
442 {
443 #ifdef dVAR
444     dVAR; dXSARGS;
445 #else
446     dXSARGS;
447 #endif
448     if (items != 1)
449        croak_xs_usage(cv,  "THIS");
450     {
451         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
452         wxString        RETVAL;
453
454         RETVAL = THIS->GetOpenedPage();
455         ST(0) = sv_newmortal();
456     WXSTRING_OUTPUT( RETVAL, ST(0) );
457
458     }
459     XSRETURN(1);
460 }
461
462
463 XS(XS_Wx__HtmlWindow_GetOpenedPageTitle); /* prototype to pass -Wmissing-prototypes */
464 XS(XS_Wx__HtmlWindow_GetOpenedPageTitle)
465 {
466 #ifdef dVAR
467     dVAR; dXSARGS;
468 #else
469     dXSARGS;
470 #endif
471     if (items != 1)
472        croak_xs_usage(cv,  "THIS");
473     {
474         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
475         wxString        RETVAL;
476
477         RETVAL = THIS->GetOpenedPageTitle();
478         ST(0) = sv_newmortal();
479     WXSTRING_OUTPUT( RETVAL, ST(0) );
480
481     }
482     XSRETURN(1);
483 }
484
485
486 XS(XS_Wx__HtmlWindow_GetParser); /* prototype to pass -Wmissing-prototypes */
487 XS(XS_Wx__HtmlWindow_GetParser)
488 {
489 #ifdef dVAR
490     dVAR; dXSARGS;
491 #else
492     dXSARGS;
493 #endif
494     if (items != 1)
495        croak_xs_usage(cv,  "THIS");
496     {
497         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
498         wxHtmlWinParser *       RETVAL;
499
500         RETVAL = THIS->GetParser();
501         ST(0) = sv_newmortal();
502     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
503
504     }
505     XSRETURN(1);
506 }
507
508
509 XS(XS_Wx__HtmlWindow_GetRelatedFrame); /* prototype to pass -Wmissing-prototypes */
510 XS(XS_Wx__HtmlWindow_GetRelatedFrame)
511 {
512 #ifdef dVAR
513     dVAR; dXSARGS;
514 #else
515     dXSARGS;
516 #endif
517     if (items != 1)
518        croak_xs_usage(cv,  "THIS");
519     {
520         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
521         wxFrame *       RETVAL;
522
523         RETVAL = THIS->GetRelatedFrame();
524         ST(0) = sv_newmortal();
525     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
526
527     }
528     XSRETURN(1);
529 }
530
531
532 XS(XS_Wx__HtmlWindow_HistoryBack); /* prototype to pass -Wmissing-prototypes */
533 XS(XS_Wx__HtmlWindow_HistoryBack)
534 {
535 #ifdef dVAR
536     dVAR; dXSARGS;
537 #else
538     dXSARGS;
539 #endif
540     if (items != 1)
541        croak_xs_usage(cv,  "THIS");
542     {
543         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
544         bool    RETVAL;
545
546         RETVAL = THIS->HistoryBack();
547         ST(0) = boolSV(RETVAL);
548         sv_2mortal(ST(0));
549     }
550     XSRETURN(1);
551 }
552
553
554 XS(XS_Wx__HtmlWindow_HistoryCanForward); /* prototype to pass -Wmissing-prototypes */
555 XS(XS_Wx__HtmlWindow_HistoryCanForward)
556 {
557 #ifdef dVAR
558     dVAR; dXSARGS;
559 #else
560     dXSARGS;
561 #endif
562     if (items != 1)
563        croak_xs_usage(cv,  "THIS");
564     {
565         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
566         bool    RETVAL;
567
568         RETVAL = THIS->HistoryCanForward();
569         ST(0) = boolSV(RETVAL);
570         sv_2mortal(ST(0));
571     }
572     XSRETURN(1);
573 }
574
575
576 XS(XS_Wx__HtmlWindow_HistoryCanBack); /* prototype to pass -Wmissing-prototypes */
577 XS(XS_Wx__HtmlWindow_HistoryCanBack)
578 {
579 #ifdef dVAR
580     dVAR; dXSARGS;
581 #else
582     dXSARGS;
583 #endif
584     if (items != 1)
585        croak_xs_usage(cv,  "THIS");
586     {
587         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
588         bool    RETVAL;
589
590         RETVAL = THIS->HistoryCanBack();
591         ST(0) = boolSV(RETVAL);
592         sv_2mortal(ST(0));
593     }
594     XSRETURN(1);
595 }
596
597
598 XS(XS_Wx__HtmlWindow_HistoryClear); /* prototype to pass -Wmissing-prototypes */
599 XS(XS_Wx__HtmlWindow_HistoryClear)
600 {
601 #ifdef dVAR
602     dVAR; dXSARGS;
603 #else
604     dXSARGS;
605 #endif
606     if (items != 1)
607        croak_xs_usage(cv,  "THIS");
608     {
609         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
610
611         THIS->HistoryClear();
612     }
613     XSRETURN_EMPTY;
614 }
615
616
617 XS(XS_Wx__HtmlWindow_HistoryForward); /* prototype to pass -Wmissing-prototypes */
618 XS(XS_Wx__HtmlWindow_HistoryForward)
619 {
620 #ifdef dVAR
621     dVAR; dXSARGS;
622 #else
623     dXSARGS;
624 #endif
625     if (items != 1)
626        croak_xs_usage(cv,  "THIS");
627     {
628         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
629         bool    RETVAL;
630
631         RETVAL = THIS->HistoryForward();
632         ST(0) = boolSV(RETVAL);
633         sv_2mortal(ST(0));
634     }
635     XSRETURN(1);
636 }
637
638
639 XS(XS_Wx__HtmlWindow_LoadFile); /* prototype to pass -Wmissing-prototypes */
640 XS(XS_Wx__HtmlWindow_LoadFile)
641 {
642 #ifdef dVAR
643     dVAR; dXSARGS;
644 #else
645     dXSARGS;
646 #endif
647     if (items != 2)
648        croak_xs_usage(cv,  "THIS, filename");
649     {
650         wxString        filename;
651         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
652         bool    RETVAL;
653
654     WXSTRING_INPUT( filename, wxString, ST(1) );
655
656         RETVAL = THIS->LoadFile(filename);
657         ST(0) = boolSV(RETVAL);
658         sv_2mortal(ST(0));
659     }
660     XSRETURN(1);
661 }
662
663
664 XS(XS_Wx__HtmlWindow_LoadPage); /* prototype to pass -Wmissing-prototypes */
665 XS(XS_Wx__HtmlWindow_LoadPage)
666 {
667 #ifdef dVAR
668     dVAR; dXSARGS;
669 #else
670     dXSARGS;
671 #endif
672     if (items != 2)
673        croak_xs_usage(cv,  "THIS, location");
674     {
675         wxString        location;
676         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
677         bool    RETVAL;
678
679     WXSTRING_INPUT( location, wxString, ST(1) );
680
681         RETVAL = THIS->LoadPage(location);
682         ST(0) = boolSV(RETVAL);
683         sv_2mortal(ST(0));
684     }
685     XSRETURN(1);
686 }
687
688
689 XS(XS_Wx__HtmlWindow_OnLinkClicked); /* prototype to pass -Wmissing-prototypes */
690 XS(XS_Wx__HtmlWindow_OnLinkClicked)
691 {
692 #ifdef dVAR
693     dVAR; dXSARGS;
694 #else
695     dXSARGS;
696 #endif
697     if (items != 2)
698        croak_xs_usage(cv,  "THIS, info");
699     {
700         wxHtmlLinkInfo*    info = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlLinkInfo" );
701         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
702     THIS->wxHtmlWindow::OnLinkClicked( *info );
703     }
704     XSRETURN_EMPTY;
705 }
706
707
708 XS(XS_Wx__HtmlWindow_OnSetTitle); /* prototype to pass -Wmissing-prototypes */
709 XS(XS_Wx__HtmlWindow_OnSetTitle)
710 {
711 #ifdef dVAR
712     dVAR; dXSARGS;
713 #else
714     dXSARGS;
715 #endif
716     if (items != 2)
717        croak_xs_usage(cv,  "THIS, title");
718     {
719         wxString        title;
720         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
721
722     WXSTRING_INPUT( title, wxString, ST(1) );
723     THIS->wxHtmlWindow::OnSetTitle( title );
724     }
725     XSRETURN_EMPTY;
726 }
727
728
729 XS(XS_Wx__HtmlWindow_ReadCustomization); /* prototype to pass -Wmissing-prototypes */
730 XS(XS_Wx__HtmlWindow_ReadCustomization)
731 {
732 #ifdef dVAR
733     dVAR; dXSARGS;
734 #else
735     dXSARGS;
736 #endif
737     if (items < 2 || items > 3)
738        croak_xs_usage(cv,  "THIS, cfg, path = wxEmptyString");
739     {
740         wxConfigBase*    cfg = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
741         wxString        path;
742         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
743
744         if (items < 3)
745             path = wxEmptyString;
746         else {
747     WXSTRING_INPUT( path, wxString, ST(2) );
748         }
749
750         THIS->ReadCustomization(cfg, path);
751     }
752     XSRETURN_EMPTY;
753 }
754
755
756 XS(XS_Wx__HtmlWindow_SetBorders); /* prototype to pass -Wmissing-prototypes */
757 XS(XS_Wx__HtmlWindow_SetBorders)
758 {
759 #ifdef dVAR
760     dVAR; dXSARGS;
761 #else
762     dXSARGS;
763 #endif
764     if (items != 2)
765        croak_xs_usage(cv,  "THIS, b");
766     {
767         int     b = (int)SvIV(ST(1));
768         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
769
770         THIS->SetBorders(b);
771     }
772     XSRETURN_EMPTY;
773 }
774
775
776 XS(XS_Wx__HtmlWindow_SetFonts); /* prototype to pass -Wmissing-prototypes */
777 XS(XS_Wx__HtmlWindow_SetFonts)
778 {
779 #ifdef dVAR
780     dVAR; dXSARGS;
781 #else
782     dXSARGS;
783 #endif
784     if (items != 4)
785        croak_xs_usage(cv,  "THIS, normal_face, fixed_face, sizes");
786     {
787         wxString        normal_face;
788         wxString        fixed_face;
789         SV*     sizes = ST(3);
790     int* array;
791     int n = wxPli_av_2_intarray( aTHX_ sizes, &array );
792         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
793
794     WXSTRING_INPUT( normal_face, wxString, ST(1) );
795
796     WXSTRING_INPUT( fixed_face, wxString, ST(2) );
797     if( n != 7 )
798     {
799        delete[] array;
800        croak( "Specified %d sizes, 7 wanted", n );
801     }
802     THIS->SetFonts( normal_face, fixed_face, array );
803     delete[] array;
804     }
805     XSRETURN_EMPTY;
806 }
807
808
809 XS(XS_Wx__HtmlWindow_SetPage); /* prototype to pass -Wmissing-prototypes */
810 XS(XS_Wx__HtmlWindow_SetPage)
811 {
812 #ifdef dVAR
813     dVAR; dXSARGS;
814 #else
815     dXSARGS;
816 #endif
817     if (items != 2)
818        croak_xs_usage(cv,  "THIS, source");
819     {
820         wxString        source;
821         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
822         bool    RETVAL;
823
824     WXSTRING_INPUT( source, wxString, ST(1) );
825
826         RETVAL = THIS->SetPage(source);
827         ST(0) = boolSV(RETVAL);
828         sv_2mortal(ST(0));
829     }
830     XSRETURN(1);
831 }
832
833
834 XS(XS_Wx__HtmlWindow_SetRelatedFrame); /* prototype to pass -Wmissing-prototypes */
835 XS(XS_Wx__HtmlWindow_SetRelatedFrame)
836 {
837 #ifdef dVAR
838     dVAR; dXSARGS;
839 #else
840     dXSARGS;
841 #endif
842     if (items != 3)
843        croak_xs_usage(cv,  "THIS, frame, format");
844     {
845         wxFrame*    frame = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Frame" );
846         wxString        format;
847         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
848
849     WXSTRING_INPUT( format, wxString, ST(2) );
850
851         THIS->SetRelatedFrame(frame, format);
852     }
853     XSRETURN_EMPTY;
854 }
855
856
857 XS(XS_Wx__HtmlWindow_SetRelatedStatusBar); /* prototype to pass -Wmissing-prototypes */
858 XS(XS_Wx__HtmlWindow_SetRelatedStatusBar)
859 {
860 #ifdef dVAR
861     dVAR; dXSARGS;
862 #else
863     dXSARGS;
864 #endif
865     if (items != 2)
866        croak_xs_usage(cv,  "THIS, bar");
867     {
868         int     bar = (int)SvIV(ST(1));
869         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
870
871         THIS->SetRelatedStatusBar(bar);
872     }
873     XSRETURN_EMPTY;
874 }
875
876 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
877 #define XSubPPtmpAAAB 1
878
879
880 XS(XS_Wx__HtmlWindow_SelectWord); /* prototype to pass -Wmissing-prototypes */
881 XS(XS_Wx__HtmlWindow_SelectWord)
882 {
883 #ifdef dVAR
884     dVAR; dXSARGS;
885 #else
886     dXSARGS;
887 #endif
888     if (items != 2)
889        croak_xs_usage(cv,  "THIS, pos");
890     {
891         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
892         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
893
894         THIS->SelectWord(pos);
895     }
896     XSRETURN_EMPTY;
897 }
898
899
900 XS(XS_Wx__HtmlWindow_SelectLine); /* prototype to pass -Wmissing-prototypes */
901 XS(XS_Wx__HtmlWindow_SelectLine)
902 {
903 #ifdef dVAR
904     dVAR; dXSARGS;
905 #else
906     dXSARGS;
907 #endif
908     if (items != 2)
909        croak_xs_usage(cv,  "THIS, pos");
910     {
911         wxPoint    pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
912         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
913
914         THIS->SelectLine(pos);
915     }
916     XSRETURN_EMPTY;
917 }
918
919
920 XS(XS_Wx__HtmlWindow_SelectAll); /* prototype to pass -Wmissing-prototypes */
921 XS(XS_Wx__HtmlWindow_SelectAll)
922 {
923 #ifdef dVAR
924     dVAR; dXSARGS;
925 #else
926     dXSARGS;
927 #endif
928     if (items != 1)
929        croak_xs_usage(cv,  "THIS");
930     {
931         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
932
933         THIS->SelectAll();
934     }
935     XSRETURN_EMPTY;
936 }
937
938
939 XS(XS_Wx__HtmlWindow_SelectionToText); /* prototype to pass -Wmissing-prototypes */
940 XS(XS_Wx__HtmlWindow_SelectionToText)
941 {
942 #ifdef dVAR
943     dVAR; dXSARGS;
944 #else
945     dXSARGS;
946 #endif
947     if (items != 1)
948        croak_xs_usage(cv,  "THIS");
949     {
950         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
951         wxString        RETVAL;
952
953         RETVAL = THIS->SelectionToText();
954         ST(0) = sv_newmortal();
955     WXSTRING_OUTPUT( RETVAL, ST(0) );
956
957     }
958     XSRETURN(1);
959 }
960
961
962 XS(XS_Wx__HtmlWindow_ToText); /* prototype to pass -Wmissing-prototypes */
963 XS(XS_Wx__HtmlWindow_ToText)
964 {
965 #ifdef dVAR
966     dVAR; dXSARGS;
967 #else
968     dXSARGS;
969 #endif
970     if (items != 1)
971        croak_xs_usage(cv,  "THIS");
972     {
973         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
974         wxString        RETVAL;
975
976         RETVAL = THIS->ToText();
977         ST(0) = sv_newmortal();
978     WXSTRING_OUTPUT( RETVAL, ST(0) );
979
980     }
981     XSRETURN(1);
982 }
983
984 #endif
985
986 XS(XS_Wx__HtmlWindow_WriteCustomization); /* prototype to pass -Wmissing-prototypes */
987 XS(XS_Wx__HtmlWindow_WriteCustomization)
988 {
989 #ifdef dVAR
990     dVAR; dXSARGS;
991 #else
992     dXSARGS;
993 #endif
994     if (items < 2 || items > 3)
995        croak_xs_usage(cv,  "THIS, cfg, path = wxEmptyString");
996     {
997         wxConfigBase*    cfg = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
998         wxString        path;
999         wxHtmlWindow *    THIS = (wxHtmlWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWindow" );
1000
1001         if (items < 3)
1002             path = wxEmptyString;
1003         else {
1004     WXSTRING_INPUT( path, wxString, ST(2) );
1005         }
1006
1007         THIS->WriteCustomization(cfg, path);
1008     }
1009     XSRETURN_EMPTY;
1010 }
1011
1012
1013 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlWindow.xs |' */
1014
1015
1016 /* INCLUDE:  Including 'XS/HtmlHelpController.xs' from 'Html.xs' */
1017
1018 #include <wx/html/helpctrl.h>
1019 #if defined(__WXMSW__)
1020 #if wxPERL_USE_BESTHELP
1021 #include <wx/msw/helpbest.h>
1022 #undef THIS
1023 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1024 #define XSubPPtmpAAAC 1
1025
1026
1027 XS(XS_Wx__BestHelpController_new); /* prototype to pass -Wmissing-prototypes */
1028 XS(XS_Wx__BestHelpController_new)
1029 {
1030 #ifdef dVAR
1031     dVAR; dXSARGS;
1032 #else
1033     dXSARGS;
1034 #endif
1035     if (items < 1 || items > 3)
1036        croak_xs_usage(cv,  "CLASS, parent = NULL, style = wxHF_DEFAULT_STYLE");
1037     {
1038         wxWindow*       parent;
1039         int     style;
1040         char *  CLASS = (char *)SvPV_nolen(ST(0));
1041         wxBestHelpController *  RETVAL;
1042
1043         if (items < 2)
1044             parent = NULL;
1045         else {
1046     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1047         }
1048
1049         if (items < 3)
1050             style = wxHF_DEFAULT_STYLE;
1051         else {
1052             style = (int)SvIV(ST(2));
1053         }
1054
1055         RETVAL = new wxBestHelpController(parent, style);
1056         ST(0) = sv_newmortal();
1057     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1058
1059     }
1060     XSRETURN(1);
1061 }
1062
1063 #else
1064 #define XSubPPtmpAAAD 1
1065
1066
1067 XS(XS_Wx__BestHelpController_new); /* prototype to pass -Wmissing-prototypes */
1068 XS(XS_Wx__BestHelpController_new)
1069 {
1070 #ifdef dVAR
1071     dVAR; dXSARGS;
1072 #else
1073     dXSARGS;
1074 #endif
1075     if (items != 1)
1076        croak_xs_usage(cv,  "CLASS");
1077     {
1078         char *  CLASS = (char *)SvPV_nolen(ST(0));
1079         wxBestHelpController *  RETVAL;
1080
1081         RETVAL = new wxBestHelpController();
1082         ST(0) = sv_newmortal();
1083     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1084
1085     }
1086     XSRETURN(1);
1087 }
1088
1089 #endif
1090 #endif
1091 #endif
1092
1093 XS(XS_Wx__HtmlHelpController_new); /* prototype to pass -Wmissing-prototypes */
1094 XS(XS_Wx__HtmlHelpController_new)
1095 {
1096 #ifdef dVAR
1097     dVAR; dXSARGS;
1098 #else
1099     dXSARGS;
1100 #endif
1101     if (items < 1 || items > 2)
1102        croak_xs_usage(cv,  "CLASS, style = wxHF_DEFAULTSTYLE");
1103     {
1104         long    style;
1105         char *  CLASS = (char *)SvPV_nolen(ST(0));
1106         wxHtmlHelpController *  RETVAL;
1107
1108         if (items < 2)
1109             style = wxHF_DEFAULTSTYLE;
1110         else {
1111             style = (long)SvIV(ST(1));
1112         }
1113     RETVAL = new wxHtmlHelpController( style );
1114         ST(0) = sv_newmortal();
1115     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1116
1117     }
1118     XSRETURN(1);
1119 }
1120
1121
1122 XS(XS_Wx__HtmlHelpController_AddBook); /* prototype to pass -Wmissing-prototypes */
1123 XS(XS_Wx__HtmlHelpController_AddBook)
1124 {
1125 #ifdef dVAR
1126     dVAR; dXSARGS;
1127 #else
1128     dXSARGS;
1129 #endif
1130     if (items != 3)
1131        croak_xs_usage(cv,  "THIS, book, show_wait");
1132     {
1133         wxString        book;
1134         bool    show_wait = (bool)SvTRUE(ST(2));
1135         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1136         bool    RETVAL;
1137
1138     WXSTRING_INPUT( book, wxString, ST(1) );
1139
1140         RETVAL = THIS->AddBook(book, show_wait);
1141         ST(0) = boolSV(RETVAL);
1142         sv_2mortal(ST(0));
1143     }
1144     XSRETURN(1);
1145 }
1146
1147
1148 XS(XS_Wx__HtmlHelpController_Display); /* prototype to pass -Wmissing-prototypes */
1149 XS(XS_Wx__HtmlHelpController_Display)
1150 {
1151 #ifdef dVAR
1152     dVAR; dXSARGS;
1153 #else
1154     dXSARGS;
1155 #endif
1156     if (items != 2)
1157        croak_xs_usage(cv,  "THIS, x");
1158     {
1159         wxString        x;
1160         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1161
1162     WXSTRING_INPUT( x, wxString, ST(1) );
1163
1164         THIS->Display(x);
1165     }
1166     XSRETURN_EMPTY;
1167 }
1168
1169
1170 XS(XS_Wx__HtmlHelpController_DisplayId); /* prototype to pass -Wmissing-prototypes */
1171 XS(XS_Wx__HtmlHelpController_DisplayId)
1172 {
1173 #ifdef dVAR
1174     dVAR; dXSARGS;
1175 #else
1176     dXSARGS;
1177 #endif
1178     if (items != 2)
1179        croak_xs_usage(cv,  "THIS, id");
1180     {
1181         int     id = (int)SvIV(ST(1));
1182         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1183     THIS->Display( id );
1184     }
1185     XSRETURN_EMPTY;
1186 }
1187
1188
1189 XS(XS_Wx__HtmlHelpController_DisplayContents); /* prototype to pass -Wmissing-prototypes */
1190 XS(XS_Wx__HtmlHelpController_DisplayContents)
1191 {
1192 #ifdef dVAR
1193     dVAR; dXSARGS;
1194 #else
1195     dXSARGS;
1196 #endif
1197     if (items != 1)
1198        croak_xs_usage(cv,  "THIS");
1199     {
1200         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1201
1202         THIS->DisplayContents();
1203     }
1204     XSRETURN_EMPTY;
1205 }
1206
1207
1208 XS(XS_Wx__HtmlHelpController_DisplayIndex); /* prototype to pass -Wmissing-prototypes */
1209 XS(XS_Wx__HtmlHelpController_DisplayIndex)
1210 {
1211 #ifdef dVAR
1212     dVAR; dXSARGS;
1213 #else
1214     dXSARGS;
1215 #endif
1216     if (items != 1)
1217        croak_xs_usage(cv,  "THIS");
1218     {
1219         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1220
1221         THIS->DisplayIndex();
1222     }
1223     XSRETURN_EMPTY;
1224 }
1225
1226
1227 XS(XS_Wx__HtmlHelpController_KeywordSearch); /* prototype to pass -Wmissing-prototypes */
1228 XS(XS_Wx__HtmlHelpController_KeywordSearch)
1229 {
1230 #ifdef dVAR
1231     dVAR; dXSARGS;
1232 #else
1233     dXSARGS;
1234 #endif
1235     if (items != 2)
1236        croak_xs_usage(cv,  "THIS, keyword");
1237     {
1238         wxString        keyword;
1239         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1240         bool    RETVAL;
1241
1242     WXSTRING_INPUT( keyword, wxString, ST(1) );
1243
1244         RETVAL = THIS->KeywordSearch(keyword);
1245         ST(0) = boolSV(RETVAL);
1246         sv_2mortal(ST(0));
1247     }
1248     XSRETURN(1);
1249 }
1250
1251
1252 XS(XS_Wx__HtmlHelpController_ReadCustomization); /* prototype to pass -Wmissing-prototypes */
1253 XS(XS_Wx__HtmlHelpController_ReadCustomization)
1254 {
1255 #ifdef dVAR
1256     dVAR; dXSARGS;
1257 #else
1258     dXSARGS;
1259 #endif
1260     if (items < 2 || items > 3)
1261        croak_xs_usage(cv,  "THIS, cfg, path = wxEmptyString");
1262     {
1263         wxConfigBase*    cfg = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
1264         wxString        path;
1265         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1266
1267         if (items < 3)
1268             path = wxEmptyString;
1269         else {
1270     WXSTRING_INPUT( path, wxString, ST(2) );
1271         }
1272
1273         THIS->ReadCustomization(cfg, path);
1274     }
1275     XSRETURN_EMPTY;
1276 }
1277
1278
1279 XS(XS_Wx__HtmlHelpController_SetTempDir); /* prototype to pass -Wmissing-prototypes */
1280 XS(XS_Wx__HtmlHelpController_SetTempDir)
1281 {
1282 #ifdef dVAR
1283     dVAR; dXSARGS;
1284 #else
1285     dXSARGS;
1286 #endif
1287     if (items != 2)
1288        croak_xs_usage(cv,  "THIS, path");
1289     {
1290         wxString        path;
1291         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1292
1293     WXSTRING_INPUT( path, wxString, ST(1) );
1294
1295         THIS->SetTempDir(path);
1296     }
1297     XSRETURN_EMPTY;
1298 }
1299
1300
1301 XS(XS_Wx__HtmlHelpController_SetTitleFormat); /* prototype to pass -Wmissing-prototypes */
1302 XS(XS_Wx__HtmlHelpController_SetTitleFormat)
1303 {
1304 #ifdef dVAR
1305     dVAR; dXSARGS;
1306 #else
1307     dXSARGS;
1308 #endif
1309     if (items != 2)
1310        croak_xs_usage(cv,  "THIS, format");
1311     {
1312         wxString        format;
1313         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1314
1315     WXSTRING_INPUT( format, wxString, ST(1) );
1316
1317         THIS->SetTitleFormat(format);
1318     }
1319     XSRETURN_EMPTY;
1320 }
1321
1322
1323 XS(XS_Wx__HtmlHelpController_UseConfig); /* prototype to pass -Wmissing-prototypes */
1324 XS(XS_Wx__HtmlHelpController_UseConfig)
1325 {
1326 #ifdef dVAR
1327     dVAR; dXSARGS;
1328 #else
1329     dXSARGS;
1330 #endif
1331     if (items < 2 || items > 3)
1332        croak_xs_usage(cv,  "THIS, config, path = wxEmptyString");
1333     {
1334         wxConfigBase*    config = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
1335         wxString        path;
1336         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1337
1338         if (items < 3)
1339             path = wxEmptyString;
1340         else {
1341     WXSTRING_INPUT( path, wxString, ST(2) );
1342         }
1343
1344         THIS->UseConfig(config, path);
1345     }
1346     XSRETURN_EMPTY;
1347 }
1348
1349
1350 XS(XS_Wx__HtmlHelpController_WriteCustomization); /* prototype to pass -Wmissing-prototypes */
1351 XS(XS_Wx__HtmlHelpController_WriteCustomization)
1352 {
1353 #ifdef dVAR
1354     dVAR; dXSARGS;
1355 #else
1356     dXSARGS;
1357 #endif
1358     if (items < 2 || items > 3)
1359        croak_xs_usage(cv,  "THIS, cfg, path = wxEmptyString");
1360     {
1361         wxConfigBase*    cfg = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
1362         wxString        path;
1363         wxHtmlHelpController *    THIS = (wxHtmlHelpController *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlHelpController" );
1364
1365         if (items < 3)
1366             path = wxEmptyString;
1367         else {
1368     WXSTRING_INPUT( path, wxString, ST(2) );
1369         }
1370
1371         THIS->WriteCustomization(cfg, path);
1372     }
1373     XSRETURN_EMPTY;
1374 }
1375
1376
1377 /* INCLUDE: Returning to 'Html.xs' from 'XS/HtmlHelpController.xs' */
1378
1379 #if wxPERL_USE_PRINTING_ARCHITECTURE
1380 #define XSubPPtmpAAAE 1
1381
1382
1383 /* INCLUDE:  Including 'XS/HtmlEasyPrinting.xs' from 'Html.xs' */
1384
1385
1386 /* INCLUDE:  Including 'XS/HtmlDCRenderer.xs' from 'XS/HtmlEasyPrinting.xs' */
1387
1388 #include <wx/html/htmprint.h>
1389 #include <wx/dc.h>
1390
1391 XS(XS_Wx__HtmlDCRenderer_new); /* prototype to pass -Wmissing-prototypes */
1392 XS(XS_Wx__HtmlDCRenderer_new)
1393 {
1394 #ifdef dVAR
1395     dVAR; dXSARGS;
1396 #else
1397     dXSARGS;
1398 #endif
1399     if (items != 1)
1400        croak_xs_usage(cv,  "CLASS");
1401     {
1402         char *  CLASS = (char *)SvPV_nolen(ST(0));
1403         wxHtmlDCRenderer *      RETVAL;
1404
1405         RETVAL = new wxHtmlDCRenderer();
1406         ST(0) = sv_newmortal();
1407     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlDCRenderer" );
1408     wxPli_thread_sv_register( aTHX_ "Wx::HtmlDCRenderer", RETVAL, ST(0) );
1409
1410     }
1411     XSRETURN(1);
1412 }
1413
1414
1415 XS(XS_Wx__HtmlDCRenderer_CLONE); /* prototype to pass -Wmissing-prototypes */
1416 XS(XS_Wx__HtmlDCRenderer_CLONE)
1417 {
1418 #ifdef dVAR
1419     dVAR; dXSARGS;
1420 #else
1421     dXSARGS;
1422 #endif
1423     if (items != 1)
1424        croak_xs_usage(cv,  "CLASS");
1425     {
1426         char *  CLASS = (char *)SvPV_nolen(ST(0));
1427     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
1428     }
1429     XSRETURN_EMPTY;
1430 }
1431
1432
1433 XS(XS_Wx__HtmlDCRenderer_DESTROY); /* prototype to pass -Wmissing-prototypes */
1434 XS(XS_Wx__HtmlDCRenderer_DESTROY)
1435 {
1436 #ifdef dVAR
1437     dVAR; dXSARGS;
1438 #else
1439     dXSARGS;
1440 #endif
1441     if (items != 1)
1442        croak_xs_usage(cv,  "THIS");
1443     {
1444         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1445     wxPli_thread_sv_unregister( aTHX_ "Wx::HtmlDCRenderer", THIS, ST(0) );
1446     delete THIS;
1447     }
1448     XSRETURN_EMPTY;
1449 }
1450
1451
1452 XS(XS_Wx__HtmlDCRenderer_SetDC); /* prototype to pass -Wmissing-prototypes */
1453 XS(XS_Wx__HtmlDCRenderer_SetDC)
1454 {
1455 #ifdef dVAR
1456     dVAR; dXSARGS;
1457 #else
1458     dXSARGS;
1459 #endif
1460     if (items < 2 || items > 3)
1461        croak_xs_usage(cv,  "THIS, dc, pixel_scale = 1.0");
1462     {
1463         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
1464         double  pixel_scale;
1465         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1466
1467         if (items < 3)
1468             pixel_scale = 1.0;
1469         else {
1470             pixel_scale = (double)SvNV(ST(2));
1471         }
1472
1473         THIS->SetDC(dc, pixel_scale);
1474     }
1475     XSRETURN_EMPTY;
1476 }
1477
1478
1479 XS(XS_Wx__HtmlDCRenderer_SetSize); /* prototype to pass -Wmissing-prototypes */
1480 XS(XS_Wx__HtmlDCRenderer_SetSize)
1481 {
1482 #ifdef dVAR
1483     dVAR; dXSARGS;
1484 #else
1485     dXSARGS;
1486 #endif
1487     if (items != 3)
1488        croak_xs_usage(cv,  "THIS, width, height");
1489     {
1490         int     width = (int)SvIV(ST(1));
1491         int     height = (int)SvIV(ST(2));
1492         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1493
1494         THIS->SetSize(width, height);
1495     }
1496     XSRETURN_EMPTY;
1497 }
1498
1499
1500 XS(XS_Wx__HtmlDCRenderer_SetHtmlText); /* prototype to pass -Wmissing-prototypes */
1501 XS(XS_Wx__HtmlDCRenderer_SetHtmlText)
1502 {
1503 #ifdef dVAR
1504     dVAR; dXSARGS;
1505 #else
1506     dXSARGS;
1507 #endif
1508     if (items < 2 || items > 4)
1509        croak_xs_usage(cv,  "THIS, htmlText, basepath = wxEmptyString, isdir = 1");
1510     {
1511         wxString        htmlText;
1512         wxString        basepath;
1513         bool    isdir;
1514         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1515
1516     WXSTRING_INPUT( htmlText, wxString, ST(1) );
1517
1518         if (items < 3)
1519             basepath = wxEmptyString;
1520         else {
1521     WXSTRING_INPUT( basepath, wxString, ST(2) );
1522         }
1523
1524         if (items < 4)
1525             isdir = 1;
1526         else {
1527             isdir = (bool)SvTRUE(ST(3));
1528         }
1529
1530         THIS->SetHtmlText(htmlText, basepath, isdir);
1531     }
1532     XSRETURN_EMPTY;
1533 }
1534
1535
1536 XS(XS_Wx__HtmlDCRenderer_SetFonts); /* prototype to pass -Wmissing-prototypes */
1537 XS(XS_Wx__HtmlDCRenderer_SetFonts)
1538 {
1539 #ifdef dVAR
1540     dVAR; dXSARGS;
1541 #else
1542     dXSARGS;
1543 #endif
1544     if (items != 4)
1545        croak_xs_usage(cv,  "THIS, normal_face, fixed_face, sizes");
1546     {
1547         wxString        normal_face;
1548         wxString        fixed_face;
1549         SV*     sizes = ST(3);
1550     int* array;
1551     int n = wxPli_av_2_intarray( aTHX_ sizes, &array );
1552         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1553
1554     WXSTRING_INPUT( normal_face, wxString, ST(1) );
1555
1556     WXSTRING_INPUT( fixed_face, wxString, ST(2) );
1557     if( n != 7 )
1558     {
1559        delete[] array;
1560        croak( "Specified %d sizes, 7 wanted", n );
1561     }
1562     THIS->SetFonts( normal_face, fixed_face, array );
1563     delete[] array;        
1564     }
1565     XSRETURN_EMPTY;
1566 }
1567
1568 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1569 #define XSubPPtmpAAAF 1
1570
1571
1572 XS(XS_Wx__HtmlDCRenderer_Render); /* prototype to pass -Wmissing-prototypes */
1573 XS(XS_Wx__HtmlDCRenderer_Render)
1574 {
1575 #ifdef dVAR
1576     dVAR; dXSARGS;
1577 #else
1578     dXSARGS;
1579 #endif
1580     if (items < 4 || items > 7)
1581        croak_xs_usage(cv,  "THIS, x, y, pagebreaks, from = 0, dont_render = 0, to = INT_MAX");
1582     {
1583         int     x = (int)SvIV(ST(1));
1584         int     y = (int)SvIV(ST(2));
1585         wxArrayInt      pagebreaks;
1586         int     from;
1587         int     dont_render;
1588         int     to;
1589         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1590         int     RETVAL;
1591         dXSTARG;
1592
1593     wxPli_av_2_arrayint( aTHX_ ST(3), & pagebreaks );
1594
1595         if (items < 5)
1596             from = 0;
1597         else {
1598             from = (int)SvIV(ST(4));
1599         }
1600
1601         if (items < 6)
1602             dont_render = 0;
1603         else {
1604             dont_render = (int)SvIV(ST(5));
1605         }
1606
1607         if (items < 7)
1608             to = INT_MAX;
1609         else {
1610             to = (int)SvIV(ST(6));
1611         }
1612
1613         RETVAL = THIS->Render(x, y, pagebreaks, from, dont_render, to);
1614         XSprePUSH; PUSHi((IV)RETVAL);
1615     }
1616     XSRETURN(1);
1617 }
1618
1619 #else
1620 #define XSubPPtmpAAAG 1
1621
1622
1623 XS(XS_Wx__HtmlDCRenderer_Render); /* prototype to pass -Wmissing-prototypes */
1624 XS(XS_Wx__HtmlDCRenderer_Render)
1625 {
1626 #ifdef dVAR
1627     dVAR; dXSARGS;
1628 #else
1629     dXSARGS;
1630 #endif
1631     if (items < 4 || items > 8)
1632        croak_xs_usage(cv,  "THIS, x, y, from = 0, dont_render = 0, maxHeight = INT_MAX, pagebreaks, number_of_pages = 0");
1633     {
1634         int     x = (int)SvIV(ST(1));
1635         int     y = (int)SvIV(ST(2));
1636         int     from;
1637         int     dont_render;
1638         int     maxHeight;
1639         SV*     pagebreaks = ST(6);
1640         int     number_of_pages;
1641     int* array;
1642     int n = wxPli_av_2_intarray( aTHX_ pagebreaks, &array );
1643         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1644         int     RETVAL;
1645         dXSTARG;
1646
1647         if (items < 4)
1648             from = 0;
1649         else {
1650             from = (int)SvIV(ST(3));
1651         }
1652
1653         if (items < 5)
1654             dont_render = 0;
1655         else {
1656             dont_render = (int)SvIV(ST(4));
1657         }
1658
1659         if (items < 6)
1660             maxHeight = INT_MAX;
1661         else {
1662             maxHeight = (int)SvIV(ST(5));
1663         }
1664
1665         if (items < 8)
1666             number_of_pages = 0;
1667         else {
1668             number_of_pages = (int)SvIV(ST(7));
1669         }
1670     RETVAL = THIS->Render( x, y, from, dont_render, maxHeight,
1671                            ( n == 0 ? NULL : array ), number_of_pages);
1672     delete[] array;
1673         XSprePUSH; PUSHi((IV)RETVAL);
1674     }
1675     XSRETURN(1);
1676 }
1677
1678 #endif                        
1679
1680 XS(XS_Wx__HtmlDCRenderer_GetTotalHeight); /* prototype to pass -Wmissing-prototypes */
1681 XS(XS_Wx__HtmlDCRenderer_GetTotalHeight)
1682 {
1683 #ifdef dVAR
1684     dVAR; dXSARGS;
1685 #else
1686     dXSARGS;
1687 #endif
1688     if (items != 1)
1689        croak_xs_usage(cv,  "THIS");
1690     {
1691         wxHtmlDCRenderer *    THIS = (wxHtmlDCRenderer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlDCRenderer" );
1692         int     RETVAL;
1693         dXSTARG;
1694
1695         RETVAL = THIS->GetTotalHeight();
1696         XSprePUSH; PUSHi((IV)RETVAL);
1697     }
1698     XSRETURN(1);
1699 }
1700
1701
1702 /* INCLUDE: Returning to 'XS/HtmlEasyPrinting.xs' from 'XS/HtmlDCRenderer.xs' */
1703
1704 #include <wx/html/htmprint.h>
1705 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
1706 #define XSubPPtmpAAAH 1
1707
1708
1709 XS(XS_Wx__HtmlEasyPrinting_new); /* prototype to pass -Wmissing-prototypes */
1710 XS(XS_Wx__HtmlEasyPrinting_new)
1711 {
1712 #ifdef dVAR
1713     dVAR; dXSARGS;
1714 #else
1715     dXSARGS;
1716 #endif
1717     if (items < 1 || items > 3)
1718        croak_xs_usage(cv,  "CLASS, name= wxT(\"Printing\"), parent= 0");
1719     {
1720         char *  CLASS = (char *)SvPV_nolen(ST(0));
1721         wxHtmlEasyPrinting *    RETVAL;
1722         wxString        name;
1723         wxWindow*       parent;
1724
1725         if (items < 2)
1726             name = wxT("Printing");
1727         else {
1728     WXSTRING_INPUT( name, wxString, ST(1) );
1729         }
1730
1731         if (items < 3)
1732             parent = 0;
1733         else {
1734     parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
1735         }
1736
1737         RETVAL = new wxHtmlEasyPrinting(name, parent);
1738         ST(0) = sv_newmortal();
1739     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlEasyPrinting" );
1740     wxPli_thread_sv_register( aTHX_ "Wx::HtmlEasyPrinting", RETVAL, ST(0) );
1741
1742     }
1743     XSRETURN(1);
1744 }
1745
1746 #else
1747 #define XSubPPtmpAAAI 1
1748
1749
1750 XS(XS_Wx__HtmlEasyPrinting_new); /* prototype to pass -Wmissing-prototypes */
1751 XS(XS_Wx__HtmlEasyPrinting_new)
1752 {
1753 #ifdef dVAR
1754     dVAR; dXSARGS;
1755 #else
1756     dXSARGS;
1757 #endif
1758     if (items < 1 || items > 3)
1759        croak_xs_usage(cv,  "CLASS, name = wxT(\"Printing\"), parent_frame = 0");
1760     {
1761         wxString        name;
1762         wxFrame*        parent_frame;
1763         char *  CLASS = (char *)SvPV_nolen(ST(0));
1764         wxHtmlEasyPrinting *    RETVAL;
1765
1766         if (items < 2)
1767             name = wxT("Printing");
1768         else {
1769     WXSTRING_INPUT( name, wxString, ST(1) );
1770         }
1771
1772         if (items < 3)
1773             parent_frame = 0;
1774         else {
1775     parent_frame = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Frame" );
1776         }
1777
1778         RETVAL = new wxHtmlEasyPrinting(name, parent_frame);
1779         ST(0) = sv_newmortal();
1780     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlEasyPrinting" );
1781     wxPli_thread_sv_register( aTHX_ "Wx::HtmlEasyPrinting", RETVAL, ST(0) );
1782
1783     }
1784     XSRETURN(1);
1785 }
1786
1787 #endif
1788
1789 XS(XS_Wx__HtmlEasyPrinting_CLONE); /* prototype to pass -Wmissing-prototypes */
1790 XS(XS_Wx__HtmlEasyPrinting_CLONE)
1791 {
1792 #ifdef dVAR
1793     dVAR; dXSARGS;
1794 #else
1795     dXSARGS;
1796 #endif
1797     if (items != 1)
1798        croak_xs_usage(cv,  "CLASS");
1799     {
1800         char *  CLASS = (char *)SvPV_nolen(ST(0));
1801     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
1802     }
1803     XSRETURN_EMPTY;
1804 }
1805
1806
1807 XS(XS_Wx__HtmlEasyPrinting_DESTROY); /* prototype to pass -Wmissing-prototypes */
1808 XS(XS_Wx__HtmlEasyPrinting_DESTROY)
1809 {
1810 #ifdef dVAR
1811     dVAR; dXSARGS;
1812 #else
1813     dXSARGS;
1814 #endif
1815     if (items != 1)
1816        croak_xs_usage(cv,  "THIS");
1817     {
1818         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1819     wxPli_thread_sv_unregister( aTHX_ "Wx::HtmlEasyPrinting", THIS, ST(0) );
1820     delete THIS;
1821     }
1822     XSRETURN_EMPTY;
1823 }
1824
1825
1826 XS(XS_Wx__HtmlEasyPrinting_PreviewFile); /* prototype to pass -Wmissing-prototypes */
1827 XS(XS_Wx__HtmlEasyPrinting_PreviewFile)
1828 {
1829 #ifdef dVAR
1830     dVAR; dXSARGS;
1831 #else
1832     dXSARGS;
1833 #endif
1834     if (items != 2)
1835        croak_xs_usage(cv,  "THIS, htmlFile");
1836     {
1837         wxString        htmlFile;
1838         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1839         bool    RETVAL;
1840
1841     WXSTRING_INPUT( htmlFile, wxString, ST(1) );
1842
1843         RETVAL = THIS->PreviewFile(htmlFile);
1844         ST(0) = boolSV(RETVAL);
1845         sv_2mortal(ST(0));
1846     }
1847     XSRETURN(1);
1848 }
1849
1850
1851 XS(XS_Wx__HtmlEasyPrinting_PreviewText); /* prototype to pass -Wmissing-prototypes */
1852 XS(XS_Wx__HtmlEasyPrinting_PreviewText)
1853 {
1854 #ifdef dVAR
1855     dVAR; dXSARGS;
1856 #else
1857     dXSARGS;
1858 #endif
1859     if (items < 2 || items > 3)
1860        croak_xs_usage(cv,  "THIS, htmlText, basepath = wxEmptyString");
1861     {
1862         wxString        htmlText;
1863         wxString        basepath;
1864         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1865         bool    RETVAL;
1866
1867     WXSTRING_INPUT( htmlText, wxString, ST(1) );
1868
1869         if (items < 3)
1870             basepath = wxEmptyString;
1871         else {
1872     WXSTRING_INPUT( basepath, wxString, ST(2) );
1873         }
1874
1875         RETVAL = THIS->PreviewText(htmlText, basepath);
1876         ST(0) = boolSV(RETVAL);
1877         sv_2mortal(ST(0));
1878     }
1879     XSRETURN(1);
1880 }
1881
1882
1883 XS(XS_Wx__HtmlEasyPrinting_PrintFile); /* prototype to pass -Wmissing-prototypes */
1884 XS(XS_Wx__HtmlEasyPrinting_PrintFile)
1885 {
1886 #ifdef dVAR
1887     dVAR; dXSARGS;
1888 #else
1889     dXSARGS;
1890 #endif
1891     if (items != 2)
1892        croak_xs_usage(cv,  "THIS, htmlFile");
1893     {
1894         wxString        htmlFile;
1895         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1896         bool    RETVAL;
1897
1898     WXSTRING_INPUT( htmlFile, wxString, ST(1) );
1899
1900         RETVAL = THIS->PrintFile(htmlFile);
1901         ST(0) = boolSV(RETVAL);
1902         sv_2mortal(ST(0));
1903     }
1904     XSRETURN(1);
1905 }
1906
1907
1908 XS(XS_Wx__HtmlEasyPrinting_PrintText); /* prototype to pass -Wmissing-prototypes */
1909 XS(XS_Wx__HtmlEasyPrinting_PrintText)
1910 {
1911 #ifdef dVAR
1912     dVAR; dXSARGS;
1913 #else
1914     dXSARGS;
1915 #endif
1916     if (items < 2 || items > 3)
1917        croak_xs_usage(cv,  "THIS, htmlText, basepath = wxEmptyString");
1918     {
1919         wxString        htmlText;
1920         wxString        basepath;
1921         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1922         bool    RETVAL;
1923
1924     WXSTRING_INPUT( htmlText, wxString, ST(1) );
1925
1926         if (items < 3)
1927             basepath = wxEmptyString;
1928         else {
1929     WXSTRING_INPUT( basepath, wxString, ST(2) );
1930         }
1931
1932         RETVAL = THIS->PrintText(htmlText, basepath);
1933         ST(0) = boolSV(RETVAL);
1934         sv_2mortal(ST(0));
1935     }
1936     XSRETURN(1);
1937 }
1938
1939 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
1940 #define XSubPPtmpAAAJ 1
1941
1942
1943 XS(XS_Wx__HtmlEasyPrinting_PrinterSetup); /* prototype to pass -Wmissing-prototypes */
1944 XS(XS_Wx__HtmlEasyPrinting_PrinterSetup)
1945 {
1946 #ifdef dVAR
1947     dVAR; dXSARGS;
1948 #else
1949     dXSARGS;
1950 #endif
1951     if (items != 1)
1952        croak_xs_usage(cv,  "THIS");
1953     {
1954         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1955
1956         THIS->PrinterSetup();
1957     }
1958     XSRETURN_EMPTY;
1959 }
1960
1961 #endif
1962
1963 XS(XS_Wx__HtmlEasyPrinting_PageSetup); /* prototype to pass -Wmissing-prototypes */
1964 XS(XS_Wx__HtmlEasyPrinting_PageSetup)
1965 {
1966 #ifdef dVAR
1967     dVAR; dXSARGS;
1968 #else
1969     dXSARGS;
1970 #endif
1971     if (items != 1)
1972        croak_xs_usage(cv,  "THIS");
1973     {
1974         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1975
1976         THIS->PageSetup();
1977     }
1978     XSRETURN_EMPTY;
1979 }
1980
1981
1982 XS(XS_Wx__HtmlEasyPrinting_SetHeader); /* prototype to pass -Wmissing-prototypes */
1983 XS(XS_Wx__HtmlEasyPrinting_SetHeader)
1984 {
1985 #ifdef dVAR
1986     dVAR; dXSARGS;
1987 #else
1988     dXSARGS;
1989 #endif
1990     if (items < 2 || items > 3)
1991        croak_xs_usage(cv,  "THIS, header, pg = wxPAGE_ALL");
1992     {
1993         wxString        header;
1994         int     pg;
1995         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
1996
1997     WXSTRING_INPUT( header, wxString, ST(1) );
1998
1999         if (items < 3)
2000             pg = wxPAGE_ALL;
2001         else {
2002             pg = (int)SvIV(ST(2));
2003         }
2004
2005         THIS->SetHeader(header, pg);
2006     }
2007     XSRETURN_EMPTY;
2008 }
2009
2010
2011 XS(XS_Wx__HtmlEasyPrinting_SetFonts); /* prototype to pass -Wmissing-prototypes */
2012 XS(XS_Wx__HtmlEasyPrinting_SetFonts)
2013 {
2014 #ifdef dVAR
2015     dVAR; dXSARGS;
2016 #else
2017     dXSARGS;
2018 #endif
2019     if (items != 4)
2020        croak_xs_usage(cv,  "THIS, normal_face, fixed_face, sizes");
2021     {
2022         wxString        normal_face;
2023         wxString        fixed_face;
2024         SV*     sizes = ST(3);
2025     int* array;
2026     int n = wxPli_av_2_intarray( aTHX_ sizes, &array );
2027         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2028
2029     WXSTRING_INPUT( normal_face, wxString, ST(1) );
2030
2031     WXSTRING_INPUT( fixed_face, wxString, ST(2) );
2032     if( n != 7 )
2033     {
2034        delete[] array;
2035        croak( "Specified %d sizes, 7 wanted", n );
2036     }
2037     THIS->SetFonts( normal_face, fixed_face, array );
2038     delete[] array;    
2039     }
2040     XSRETURN_EMPTY;
2041 }
2042
2043
2044 XS(XS_Wx__HtmlEasyPrinting_SetFooter); /* prototype to pass -Wmissing-prototypes */
2045 XS(XS_Wx__HtmlEasyPrinting_SetFooter)
2046 {
2047 #ifdef dVAR
2048     dVAR; dXSARGS;
2049 #else
2050     dXSARGS;
2051 #endif
2052     if (items < 2 || items > 3)
2053        croak_xs_usage(cv,  "THIS, header, pg = wxPAGE_ALL");
2054     {
2055         wxString        header;
2056         int     pg;
2057         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2058
2059     WXSTRING_INPUT( header, wxString, ST(1) );
2060
2061         if (items < 3)
2062             pg = wxPAGE_ALL;
2063         else {
2064             pg = (int)SvIV(ST(2));
2065         }
2066
2067         THIS->SetFooter(header, pg);
2068     }
2069     XSRETURN_EMPTY;
2070 }
2071
2072
2073 XS(XS_Wx__HtmlEasyPrinting_GetPrintData); /* prototype to pass -Wmissing-prototypes */
2074 XS(XS_Wx__HtmlEasyPrinting_GetPrintData)
2075 {
2076 #ifdef dVAR
2077     dVAR; dXSARGS;
2078 #else
2079     dXSARGS;
2080 #endif
2081     if (items != 1)
2082        croak_xs_usage(cv,  "THIS");
2083     {
2084         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2085         wxPrintData *   RETVAL;
2086
2087         RETVAL = THIS->GetPrintData();
2088         ST(0) = sv_newmortal();
2089     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2090
2091     }
2092     XSRETURN(1);
2093 }
2094
2095
2096 XS(XS_Wx__HtmlEasyPrinting_GetPageSetupData); /* prototype to pass -Wmissing-prototypes */
2097 XS(XS_Wx__HtmlEasyPrinting_GetPageSetupData)
2098 {
2099 #ifdef dVAR
2100     dVAR; dXSARGS;
2101 #else
2102     dXSARGS;
2103 #endif
2104     if (items != 1)
2105        croak_xs_usage(cv,  "THIS");
2106     {
2107         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2108         wxPageSetupDialogData * RETVAL;
2109
2110         RETVAL = THIS->GetPageSetupData();
2111         ST(0) = sv_newmortal();
2112     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2113
2114     }
2115     XSRETURN(1);
2116 }
2117
2118 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2119 #define XSubPPtmpAAAK 1
2120
2121
2122 XS(XS_Wx__HtmlEasyPrinting_GetParentWindow); /* prototype to pass -Wmissing-prototypes */
2123 XS(XS_Wx__HtmlEasyPrinting_GetParentWindow)
2124 {
2125 #ifdef dVAR
2126     dVAR; dXSARGS;
2127 #else
2128     dXSARGS;
2129 #endif
2130     if (items != 1)
2131        croak_xs_usage(cv,  "THIS");
2132     {
2133         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2134         wxWindow *      RETVAL;
2135
2136         RETVAL = THIS->GetParentWindow();
2137         ST(0) = sv_newmortal();
2138     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2139
2140     }
2141     XSRETURN(1);
2142 }
2143
2144
2145 XS(XS_Wx__HtmlEasyPrinting_SetParentWindow); /* prototype to pass -Wmissing-prototypes */
2146 XS(XS_Wx__HtmlEasyPrinting_SetParentWindow)
2147 {
2148 #ifdef dVAR
2149     dVAR; dXSARGS;
2150 #else
2151     dXSARGS;
2152 #endif
2153     if (items != 2)
2154        croak_xs_usage(cv,  "THIS, window");
2155     {
2156         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2157         wxHtmlEasyPrinting *    THIS = (wxHtmlEasyPrinting *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlEasyPrinting" );
2158
2159         THIS->SetParentWindow(window);
2160     }
2161     XSRETURN_EMPTY;
2162 }
2163
2164 #endif
2165
2166 /* INCLUDE: Returning to 'Html.xs' from 'XS/HtmlEasyPrinting.xs' */
2167
2168 #endif
2169
2170 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlParser.xsp |' from 'Html.xs' */
2171
2172 #include <wx/dc.h>
2173 #include <wx/html/winpars.h>
2174
2175 XS(XS_Wx__HtmlParser_SetFS); /* prototype to pass -Wmissing-prototypes */
2176 XS(XS_Wx__HtmlParser_SetFS)
2177 {
2178 #ifdef dVAR
2179     dVAR; dXSARGS;
2180 #else
2181     dXSARGS;
2182 #endif
2183     if (items != 2)
2184        croak_xs_usage(cv,  "THIS, fs");
2185     {
2186         wxFileSystem*    fs = (wxFileSystem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::FileSystem" );
2187         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2188
2189         THIS->SetFS(fs);
2190     }
2191     XSRETURN_EMPTY;
2192 }
2193
2194
2195 XS(XS_Wx__HtmlParser_GetFS); /* prototype to pass -Wmissing-prototypes */
2196 XS(XS_Wx__HtmlParser_GetFS)
2197 {
2198 #ifdef dVAR
2199     dVAR; dXSARGS;
2200 #else
2201     dXSARGS;
2202 #endif
2203     if (items != 1)
2204        croak_xs_usage(cv,  "THIS");
2205     {
2206         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2207         wxFileSystem *  RETVAL;
2208
2209         RETVAL = THIS->GetFS();
2210         ST(0) = sv_newmortal();
2211     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2212     wxPli_thread_sv_register( aTHX_ "Wx::FileSystem", RETVAL, ST(0) );
2213
2214     }
2215     XSRETURN(1);
2216 }
2217
2218
2219 XS(XS_Wx__HtmlParser_OpenURL); /* prototype to pass -Wmissing-prototypes */
2220 XS(XS_Wx__HtmlParser_OpenURL)
2221 {
2222 #ifdef dVAR
2223     dVAR; dXSARGS;
2224 #else
2225     dXSARGS;
2226 #endif
2227     if (items != 3)
2228        croak_xs_usage(cv,  "THIS, type, url");
2229     {
2230         wxHtmlURLType   type = (wxHtmlURLType)SvIV(ST(1));
2231         wxString        url;
2232         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2233         wxFSFile *      RETVAL;
2234
2235     WXSTRING_INPUT( url, wxString, ST(2) );
2236
2237         RETVAL = THIS->OpenURL(type, url);
2238         ST(0) = sv_newmortal();
2239     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FSFile" );
2240
2241     }
2242     XSRETURN(1);
2243 }
2244
2245
2246 XS(XS_Wx__HtmlParser_Parse); /* prototype to pass -Wmissing-prototypes */
2247 XS(XS_Wx__HtmlParser_Parse)
2248 {
2249 #ifdef dVAR
2250     dVAR; dXSARGS;
2251 #else
2252     dXSARGS;
2253 #endif
2254     if (items != 2)
2255        croak_xs_usage(cv,  "THIS, source");
2256     {
2257         wxString        source;
2258         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2259         wxObject *      RETVAL;
2260
2261     WXSTRING_INPUT( source, wxString, ST(1) );
2262
2263         RETVAL = THIS->Parse(source);
2264         ST(0) = sv_newmortal();
2265     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2266
2267     }
2268     XSRETURN(1);
2269 }
2270
2271
2272 XS(XS_Wx__HtmlParser_InitParser); /* prototype to pass -Wmissing-prototypes */
2273 XS(XS_Wx__HtmlParser_InitParser)
2274 {
2275 #ifdef dVAR
2276     dVAR; dXSARGS;
2277 #else
2278     dXSARGS;
2279 #endif
2280     if (items != 2)
2281        croak_xs_usage(cv,  "THIS, source");
2282     {
2283         wxString        source;
2284         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2285
2286     WXSTRING_INPUT( source, wxString, ST(1) );
2287
2288         THIS->InitParser(source);
2289     }
2290     XSRETURN_EMPTY;
2291 }
2292
2293
2294 XS(XS_Wx__HtmlParser_DoneParser); /* prototype to pass -Wmissing-prototypes */
2295 XS(XS_Wx__HtmlParser_DoneParser)
2296 {
2297 #ifdef dVAR
2298     dVAR; dXSARGS;
2299 #else
2300     dXSARGS;
2301 #endif
2302     if (items != 1)
2303        croak_xs_usage(cv,  "THIS");
2304     {
2305         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2306
2307         THIS->DoneParser();
2308     }
2309     XSRETURN_EMPTY;
2310 }
2311
2312
2313 XS(XS_Wx__HtmlParser_StopParsing); /* prototype to pass -Wmissing-prototypes */
2314 XS(XS_Wx__HtmlParser_StopParsing)
2315 {
2316 #ifdef dVAR
2317     dVAR; dXSARGS;
2318 #else
2319     dXSARGS;
2320 #endif
2321     if (items != 1)
2322        croak_xs_usage(cv,  "THIS");
2323     {
2324         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2325
2326         THIS->StopParsing();
2327     }
2328     XSRETURN_EMPTY;
2329 }
2330
2331
2332 XS(XS_Wx__HtmlParser_GetCurrentTag); /* prototype to pass -Wmissing-prototypes */
2333 XS(XS_Wx__HtmlParser_GetCurrentTag)
2334 {
2335 #ifdef dVAR
2336     dVAR; dXSARGS;
2337 #else
2338     dXSARGS;
2339 #endif
2340     if (items != 1)
2341        croak_xs_usage(cv,  "THIS");
2342     {
2343         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2344         wxHtmlTag *     RETVAL;
2345
2346         RETVAL = THIS->GetCurrentTag();
2347         ST(0) = sv_newmortal();
2348     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
2349
2350     }
2351     XSRETURN(1);
2352 }
2353
2354
2355 XS(XS_Wx__HtmlParser_GetProduct); /* prototype to pass -Wmissing-prototypes */
2356 XS(XS_Wx__HtmlParser_GetProduct)
2357 {
2358 #ifdef dVAR
2359     dVAR; dXSARGS;
2360 #else
2361     dXSARGS;
2362 #endif
2363     if (items != 1)
2364        croak_xs_usage(cv,  "THIS");
2365     {
2366         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2367         wxObject *      RETVAL;
2368
2369         RETVAL = THIS->GetProduct();
2370         ST(0) = sv_newmortal();
2371     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2372
2373     }
2374     XSRETURN(1);
2375 }
2376
2377
2378 XS(XS_Wx__HtmlParser_AddTagHandler); /* prototype to pass -Wmissing-prototypes */
2379 XS(XS_Wx__HtmlParser_AddTagHandler)
2380 {
2381 #ifdef dVAR
2382     dVAR; dXSARGS;
2383 #else
2384     dXSARGS;
2385 #endif
2386     if (items != 2)
2387        croak_xs_usage(cv,  "THIS, handler");
2388     {
2389         wxHtmlTagHandler*    handler = (wxHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlTagHandler" );
2390         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2391
2392         THIS->AddTagHandler(handler);
2393     }
2394     XSRETURN_EMPTY;
2395 }
2396
2397
2398 XS(XS_Wx__HtmlParser_PushTagHandler); /* prototype to pass -Wmissing-prototypes */
2399 XS(XS_Wx__HtmlParser_PushTagHandler)
2400 {
2401 #ifdef dVAR
2402     dVAR; dXSARGS;
2403 #else
2404     dXSARGS;
2405 #endif
2406     if (items != 3)
2407        croak_xs_usage(cv,  "THIS, handler, tags");
2408     {
2409         wxHtmlTagHandler*    handler = (wxHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlTagHandler" );
2410         wxString        tags;
2411         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2412
2413     WXSTRING_INPUT( tags, wxString, ST(2) );
2414
2415         THIS->PushTagHandler(handler, tags);
2416     }
2417     XSRETURN_EMPTY;
2418 }
2419
2420
2421 XS(XS_Wx__HtmlParser_PopTagHandler); /* prototype to pass -Wmissing-prototypes */
2422 XS(XS_Wx__HtmlParser_PopTagHandler)
2423 {
2424 #ifdef dVAR
2425     dVAR; dXSARGS;
2426 #else
2427     dXSARGS;
2428 #endif
2429     if (items != 1)
2430        croak_xs_usage(cv,  "THIS");
2431     {
2432         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2433
2434         THIS->PopTagHandler();
2435     }
2436     XSRETURN_EMPTY;
2437 }
2438
2439
2440 XS(XS_Wx__HtmlParser_SetSource); /* prototype to pass -Wmissing-prototypes */
2441 XS(XS_Wx__HtmlParser_SetSource)
2442 {
2443 #ifdef dVAR
2444     dVAR; dXSARGS;
2445 #else
2446     dXSARGS;
2447 #endif
2448     if (items != 2)
2449        croak_xs_usage(cv,  "THIS, src");
2450     {
2451         wxString        src;
2452         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2453
2454     WXSTRING_INPUT( src, wxString, ST(1) );
2455
2456         THIS->SetSource(src);
2457     }
2458     XSRETURN_EMPTY;
2459 }
2460
2461
2462 XS(XS_Wx__HtmlParser_SetSourceAndSaveState); /* prototype to pass -Wmissing-prototypes */
2463 XS(XS_Wx__HtmlParser_SetSourceAndSaveState)
2464 {
2465 #ifdef dVAR
2466     dVAR; dXSARGS;
2467 #else
2468     dXSARGS;
2469 #endif
2470     if (items != 2)
2471        croak_xs_usage(cv,  "THIS, src");
2472     {
2473         wxString        src;
2474         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2475
2476     WXSTRING_INPUT( src, wxString, ST(1) );
2477
2478         THIS->SetSourceAndSaveState(src);
2479     }
2480     XSRETURN_EMPTY;
2481 }
2482
2483
2484 XS(XS_Wx__HtmlParser_RestoreState); /* prototype to pass -Wmissing-prototypes */
2485 XS(XS_Wx__HtmlParser_RestoreState)
2486 {
2487 #ifdef dVAR
2488     dVAR; dXSARGS;
2489 #else
2490     dXSARGS;
2491 #endif
2492     if (items != 1)
2493        croak_xs_usage(cv,  "THIS");
2494     {
2495         wxHtmlParser *    THIS = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlParser" );
2496         bool    RETVAL;
2497
2498         RETVAL = THIS->RestoreState();
2499         ST(0) = boolSV(RETVAL);
2500         sv_2mortal(ST(0));
2501     }
2502     XSRETURN(1);
2503 }
2504
2505
2506 XS(XS_Wx__HtmlWinParser_OpenURL); /* prototype to pass -Wmissing-prototypes */
2507 XS(XS_Wx__HtmlWinParser_OpenURL)
2508 {
2509 #ifdef dVAR
2510     dVAR; dXSARGS;
2511 #else
2512     dXSARGS;
2513 #endif
2514     if (items != 3)
2515        croak_xs_usage(cv,  "THIS, type, url");
2516     {
2517         wxHtmlURLType   type = (wxHtmlURLType)SvIV(ST(1));
2518         wxString        url;
2519         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2520         wxFSFile *      RETVAL;
2521
2522     WXSTRING_INPUT( url, wxString, ST(2) );
2523
2524         RETVAL = THIS->OpenURL(type, url);
2525         ST(0) = sv_newmortal();
2526     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FSFile" );
2527
2528     }
2529     XSRETURN(1);
2530 }
2531
2532
2533 XS(XS_Wx__HtmlWinParser_SetDC); /* prototype to pass -Wmissing-prototypes */
2534 XS(XS_Wx__HtmlWinParser_SetDC)
2535 {
2536 #ifdef dVAR
2537     dVAR; dXSARGS;
2538 #else
2539     dXSARGS;
2540 #endif
2541     if (items < 2 || items > 3)
2542        croak_xs_usage(cv,  "THIS, dc, pixel_scale = 1.0");
2543     {
2544         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
2545         double  pixel_scale;
2546         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2547
2548         if (items < 3)
2549             pixel_scale = 1.0;
2550         else {
2551             pixel_scale = (double)SvNV(ST(2));
2552         }
2553
2554         THIS->SetDC(dc, pixel_scale);
2555     }
2556     XSRETURN_EMPTY;
2557 }
2558
2559
2560 XS(XS_Wx__HtmlWinParser_GetDC); /* prototype to pass -Wmissing-prototypes */
2561 XS(XS_Wx__HtmlWinParser_GetDC)
2562 {
2563 #ifdef dVAR
2564     dVAR; dXSARGS;
2565 #else
2566     dXSARGS;
2567 #endif
2568     if (items != 1)
2569        croak_xs_usage(cv,  "THIS");
2570     {
2571         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2572         wxDC *  RETVAL;
2573
2574         RETVAL = THIS->GetDC();
2575         ST(0) = sv_newmortal();
2576     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2577     wxPli_thread_sv_register( aTHX_ "Wx::DC", RETVAL, ST(0) );
2578
2579     }
2580     XSRETURN(1);
2581 }
2582
2583
2584 XS(XS_Wx__HtmlWinParser_GetPixelScale); /* prototype to pass -Wmissing-prototypes */
2585 XS(XS_Wx__HtmlWinParser_GetPixelScale)
2586 {
2587 #ifdef dVAR
2588     dVAR; dXSARGS;
2589 #else
2590     dXSARGS;
2591 #endif
2592     if (items != 1)
2593        croak_xs_usage(cv,  "THIS");
2594     {
2595         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2596         double  RETVAL;
2597         dXSTARG;
2598
2599         RETVAL = THIS->GetPixelScale();
2600         XSprePUSH; PUSHn((double)RETVAL);
2601     }
2602     XSRETURN(1);
2603 }
2604
2605
2606 XS(XS_Wx__HtmlWinParser_GetCharHeight); /* prototype to pass -Wmissing-prototypes */
2607 XS(XS_Wx__HtmlWinParser_GetCharHeight)
2608 {
2609 #ifdef dVAR
2610     dVAR; dXSARGS;
2611 #else
2612     dXSARGS;
2613 #endif
2614     if (items != 1)
2615        croak_xs_usage(cv,  "THIS");
2616     {
2617         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2618         int     RETVAL;
2619         dXSTARG;
2620
2621         RETVAL = THIS->GetCharHeight();
2622         XSprePUSH; PUSHi((IV)RETVAL);
2623     }
2624     XSRETURN(1);
2625 }
2626
2627
2628 XS(XS_Wx__HtmlWinParser_GetCharWidth); /* prototype to pass -Wmissing-prototypes */
2629 XS(XS_Wx__HtmlWinParser_GetCharWidth)
2630 {
2631 #ifdef dVAR
2632     dVAR; dXSARGS;
2633 #else
2634     dXSARGS;
2635 #endif
2636     if (items != 1)
2637        croak_xs_usage(cv,  "THIS");
2638     {
2639         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2640         int     RETVAL;
2641         dXSTARG;
2642
2643         RETVAL = THIS->GetCharWidth();
2644         XSprePUSH; PUSHi((IV)RETVAL);
2645     }
2646     XSRETURN(1);
2647 }
2648
2649 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
2650 #define XSubPPtmpAAAL 1
2651
2652
2653 XS(XS_Wx__HtmlWinParser_GetWindow); /* prototype to pass -Wmissing-prototypes */
2654 XS(XS_Wx__HtmlWinParser_GetWindow)
2655 {
2656 #ifdef dVAR
2657     dVAR; dXSARGS;
2658 #else
2659     dXSARGS;
2660 #endif
2661     if (items != 1)
2662        croak_xs_usage(cv,  "THIS");
2663     {
2664         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2665         wxHtmlWindow *  RETVAL;
2666
2667         RETVAL = THIS->GetWindow();
2668         ST(0) = sv_newmortal();
2669     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2670
2671     }
2672     XSRETURN(1);
2673 }
2674
2675 #else
2676 #define XSubPPtmpAAAM 1
2677
2678
2679 XS(XS_Wx__HtmlWinParser_GetWindow); /* prototype to pass -Wmissing-prototypes */
2680 XS(XS_Wx__HtmlWinParser_GetWindow)
2681 {
2682 #ifdef dVAR
2683     dVAR; dXSARGS;
2684 #else
2685     dXSARGS;
2686 #endif
2687     if (items != 1)
2688        croak_xs_usage(cv,  "THIS");
2689     {
2690         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2691         wxWindow *      RETVAL;
2692      RETVAL = THIS->GetWindowInterface()->GetHTMLWindow(); 
2693         ST(0) = sv_newmortal();
2694     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2695
2696     }
2697     XSRETURN(1);
2698 }
2699
2700 #endif
2701
2702 XS(XS_Wx__HtmlWinParser_GetContainer); /* prototype to pass -Wmissing-prototypes */
2703 XS(XS_Wx__HtmlWinParser_GetContainer)
2704 {
2705 #ifdef dVAR
2706     dVAR; dXSARGS;
2707 #else
2708     dXSARGS;
2709 #endif
2710     if (items != 1)
2711        croak_xs_usage(cv,  "THIS");
2712     {
2713         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2714         wxHtmlContainerCell *   RETVAL;
2715
2716         RETVAL = THIS->GetContainer();
2717         ST(0) = sv_newmortal();
2718     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2719
2720     }
2721     XSRETURN(1);
2722 }
2723
2724
2725 XS(XS_Wx__HtmlWinParser_OpenContainer); /* prototype to pass -Wmissing-prototypes */
2726 XS(XS_Wx__HtmlWinParser_OpenContainer)
2727 {
2728 #ifdef dVAR
2729     dVAR; dXSARGS;
2730 #else
2731     dXSARGS;
2732 #endif
2733     if (items != 1)
2734        croak_xs_usage(cv,  "THIS");
2735     {
2736         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2737         wxHtmlContainerCell *   RETVAL;
2738
2739         RETVAL = THIS->OpenContainer();
2740         ST(0) = sv_newmortal();
2741     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2742
2743     }
2744     XSRETURN(1);
2745 }
2746
2747
2748 XS(XS_Wx__HtmlWinParser_SetContainer); /* prototype to pass -Wmissing-prototypes */
2749 XS(XS_Wx__HtmlWinParser_SetContainer)
2750 {
2751 #ifdef dVAR
2752     dVAR; dXSARGS;
2753 #else
2754     dXSARGS;
2755 #endif
2756     if (items != 2)
2757        croak_xs_usage(cv,  "THIS, c");
2758     {
2759         wxHtmlContainerCell*    c = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlContainerCell" );
2760         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2761         wxHtmlContainerCell *   RETVAL;
2762
2763         RETVAL = THIS->SetContainer(c);
2764         ST(0) = sv_newmortal();
2765     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2766
2767     }
2768     XSRETURN(1);
2769 }
2770
2771
2772 XS(XS_Wx__HtmlWinParser_CloseContainer); /* prototype to pass -Wmissing-prototypes */
2773 XS(XS_Wx__HtmlWinParser_CloseContainer)
2774 {
2775 #ifdef dVAR
2776     dVAR; dXSARGS;
2777 #else
2778     dXSARGS;
2779 #endif
2780     if (items != 1)
2781        croak_xs_usage(cv,  "THIS");
2782     {
2783         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2784         wxHtmlContainerCell *   RETVAL;
2785
2786         RETVAL = THIS->CloseContainer();
2787         ST(0) = sv_newmortal();
2788     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2789
2790     }
2791     XSRETURN(1);
2792 }
2793
2794
2795 XS(XS_Wx__HtmlWinParser_GetFontSize); /* prototype to pass -Wmissing-prototypes */
2796 XS(XS_Wx__HtmlWinParser_GetFontSize)
2797 {
2798 #ifdef dVAR
2799     dVAR; dXSARGS;
2800 #else
2801     dXSARGS;
2802 #endif
2803     if (items != 1)
2804        croak_xs_usage(cv,  "THIS");
2805     {
2806         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2807         int     RETVAL;
2808         dXSTARG;
2809
2810         RETVAL = THIS->GetFontSize();
2811         XSprePUSH; PUSHi((IV)RETVAL);
2812     }
2813     XSRETURN(1);
2814 }
2815
2816
2817 XS(XS_Wx__HtmlWinParser_SetFontSize); /* prototype to pass -Wmissing-prototypes */
2818 XS(XS_Wx__HtmlWinParser_SetFontSize)
2819 {
2820 #ifdef dVAR
2821     dVAR; dXSARGS;
2822 #else
2823     dXSARGS;
2824 #endif
2825     if (items != 2)
2826        croak_xs_usage(cv,  "THIS, s");
2827     {
2828         int     s = (int)SvIV(ST(1));
2829         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2830
2831         THIS->SetFontSize(s);
2832     }
2833     XSRETURN_EMPTY;
2834 }
2835
2836
2837 XS(XS_Wx__HtmlWinParser_GetFontBold); /* prototype to pass -Wmissing-prototypes */
2838 XS(XS_Wx__HtmlWinParser_GetFontBold)
2839 {
2840 #ifdef dVAR
2841     dVAR; dXSARGS;
2842 #else
2843     dXSARGS;
2844 #endif
2845     if (items != 1)
2846        croak_xs_usage(cv,  "THIS");
2847     {
2848         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2849         int     RETVAL;
2850         dXSTARG;
2851
2852         RETVAL = THIS->GetFontBold();
2853         XSprePUSH; PUSHi((IV)RETVAL);
2854     }
2855     XSRETURN(1);
2856 }
2857
2858
2859 XS(XS_Wx__HtmlWinParser_SetFontBold); /* prototype to pass -Wmissing-prototypes */
2860 XS(XS_Wx__HtmlWinParser_SetFontBold)
2861 {
2862 #ifdef dVAR
2863     dVAR; dXSARGS;
2864 #else
2865     dXSARGS;
2866 #endif
2867     if (items != 2)
2868        croak_xs_usage(cv,  "THIS, x");
2869     {
2870         int     x = (int)SvIV(ST(1));
2871         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2872
2873         THIS->SetFontBold(x);
2874     }
2875     XSRETURN_EMPTY;
2876 }
2877
2878
2879 XS(XS_Wx__HtmlWinParser_GetFontItalic); /* prototype to pass -Wmissing-prototypes */
2880 XS(XS_Wx__HtmlWinParser_GetFontItalic)
2881 {
2882 #ifdef dVAR
2883     dVAR; dXSARGS;
2884 #else
2885     dXSARGS;
2886 #endif
2887     if (items != 1)
2888        croak_xs_usage(cv,  "THIS");
2889     {
2890         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2891         int     RETVAL;
2892         dXSTARG;
2893
2894         RETVAL = THIS->GetFontItalic();
2895         XSprePUSH; PUSHi((IV)RETVAL);
2896     }
2897     XSRETURN(1);
2898 }
2899
2900
2901 XS(XS_Wx__HtmlWinParser_SetFontItalic); /* prototype to pass -Wmissing-prototypes */
2902 XS(XS_Wx__HtmlWinParser_SetFontItalic)
2903 {
2904 #ifdef dVAR
2905     dVAR; dXSARGS;
2906 #else
2907     dXSARGS;
2908 #endif
2909     if (items != 2)
2910        croak_xs_usage(cv,  "THIS, x");
2911     {
2912         int     x = (int)SvIV(ST(1));
2913         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2914
2915         THIS->SetFontItalic(x);
2916     }
2917     XSRETURN_EMPTY;
2918 }
2919
2920
2921 XS(XS_Wx__HtmlWinParser_GetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
2922 XS(XS_Wx__HtmlWinParser_GetFontUnderlined)
2923 {
2924 #ifdef dVAR
2925     dVAR; dXSARGS;
2926 #else
2927     dXSARGS;
2928 #endif
2929     if (items != 1)
2930        croak_xs_usage(cv,  "THIS");
2931     {
2932         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2933         int     RETVAL;
2934         dXSTARG;
2935
2936         RETVAL = THIS->GetFontUnderlined();
2937         XSprePUSH; PUSHi((IV)RETVAL);
2938     }
2939     XSRETURN(1);
2940 }
2941
2942
2943 XS(XS_Wx__HtmlWinParser_SetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
2944 XS(XS_Wx__HtmlWinParser_SetFontUnderlined)
2945 {
2946 #ifdef dVAR
2947     dVAR; dXSARGS;
2948 #else
2949     dXSARGS;
2950 #endif
2951     if (items != 2)
2952        croak_xs_usage(cv,  "THIS, x");
2953     {
2954         int     x = (int)SvIV(ST(1));
2955         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2956
2957         THIS->SetFontUnderlined(x);
2958     }
2959     XSRETURN_EMPTY;
2960 }
2961
2962
2963 XS(XS_Wx__HtmlWinParser_GetFontFixed); /* prototype to pass -Wmissing-prototypes */
2964 XS(XS_Wx__HtmlWinParser_GetFontFixed)
2965 {
2966 #ifdef dVAR
2967     dVAR; dXSARGS;
2968 #else
2969     dXSARGS;
2970 #endif
2971     if (items != 1)
2972        croak_xs_usage(cv,  "THIS");
2973     {
2974         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2975         int     RETVAL;
2976         dXSTARG;
2977
2978         RETVAL = THIS->GetFontFixed();
2979         XSprePUSH; PUSHi((IV)RETVAL);
2980     }
2981     XSRETURN(1);
2982 }
2983
2984
2985 XS(XS_Wx__HtmlWinParser_SetFontFixed); /* prototype to pass -Wmissing-prototypes */
2986 XS(XS_Wx__HtmlWinParser_SetFontFixed)
2987 {
2988 #ifdef dVAR
2989     dVAR; dXSARGS;
2990 #else
2991     dXSARGS;
2992 #endif
2993     if (items != 2)
2994        croak_xs_usage(cv,  "THIS, x");
2995     {
2996         int     x = (int)SvIV(ST(1));
2997         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
2998
2999         THIS->SetFontFixed(x);
3000     }
3001     XSRETURN_EMPTY;
3002 }
3003
3004
3005 XS(XS_Wx__HtmlWinParser_GetFontFace); /* prototype to pass -Wmissing-prototypes */
3006 XS(XS_Wx__HtmlWinParser_GetFontFace)
3007 {
3008 #ifdef dVAR
3009     dVAR; dXSARGS;
3010 #else
3011     dXSARGS;
3012 #endif
3013     if (items != 1)
3014        croak_xs_usage(cv,  "THIS");
3015     {
3016         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3017         wxString        RETVAL;
3018
3019         RETVAL = THIS->GetFontFace();
3020         ST(0) = sv_newmortal();
3021     WXSTRING_OUTPUT( RETVAL, ST(0) );
3022
3023     }
3024     XSRETURN(1);
3025 }
3026
3027
3028 XS(XS_Wx__HtmlWinParser_SetFontFace); /* prototype to pass -Wmissing-prototypes */
3029 XS(XS_Wx__HtmlWinParser_SetFontFace)
3030 {
3031 #ifdef dVAR
3032     dVAR; dXSARGS;
3033 #else
3034     dXSARGS;
3035 #endif
3036     if (items != 2)
3037        croak_xs_usage(cv,  "THIS, face");
3038     {
3039         wxString        face;
3040         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3041
3042     WXSTRING_INPUT( face, wxString, ST(1) );
3043
3044         THIS->SetFontFace(face);
3045     }
3046     XSRETURN_EMPTY;
3047 }
3048
3049
3050 XS(XS_Wx__HtmlWinParser_GetAlign); /* prototype to pass -Wmissing-prototypes */
3051 XS(XS_Wx__HtmlWinParser_GetAlign)
3052 {
3053 #ifdef dVAR
3054     dVAR; dXSARGS;
3055 #else
3056     dXSARGS;
3057 #endif
3058     if (items != 1)
3059        croak_xs_usage(cv,  "THIS");
3060     {
3061         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3062         int     RETVAL;
3063         dXSTARG;
3064
3065         RETVAL = THIS->GetAlign();
3066         XSprePUSH; PUSHi((IV)RETVAL);
3067     }
3068     XSRETURN(1);
3069 }
3070
3071
3072 XS(XS_Wx__HtmlWinParser_SetAlign); /* prototype to pass -Wmissing-prototypes */
3073 XS(XS_Wx__HtmlWinParser_SetAlign)
3074 {
3075 #ifdef dVAR
3076     dVAR; dXSARGS;
3077 #else
3078     dXSARGS;
3079 #endif
3080     if (items != 2)
3081        croak_xs_usage(cv,  "THIS, a");
3082     {
3083         int     a = (int)SvIV(ST(1));
3084         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3085
3086         THIS->SetAlign(a);
3087     }
3088     XSRETURN_EMPTY;
3089 }
3090
3091
3092 XS(XS_Wx__HtmlWinParser_GetLinkColor); /* prototype to pass -Wmissing-prototypes */
3093 XS(XS_Wx__HtmlWinParser_GetLinkColor)
3094 {
3095 #ifdef dVAR
3096     dVAR; dXSARGS;
3097 #else
3098     dXSARGS;
3099 #endif
3100     if (items != 1)
3101        croak_xs_usage(cv,  "THIS");
3102     {
3103         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3104         wxColour *      RETVAL;
3105     RETVAL = new wxColour( THIS->GetLinkColor() );
3106         ST(0) = sv_newmortal();
3107     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
3108     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
3109
3110     }
3111     XSRETURN(1);
3112 }
3113
3114
3115 XS(XS_Wx__HtmlWinParser_SetLinkColor); /* prototype to pass -Wmissing-prototypes */
3116 XS(XS_Wx__HtmlWinParser_SetLinkColor)
3117 {
3118 #ifdef dVAR
3119     dVAR; dXSARGS;
3120 #else
3121     dXSARGS;
3122 #endif
3123     if (items != 2)
3124        croak_xs_usage(cv,  "THIS, clr");
3125     {
3126         wxColour*    clr = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
3127         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3128     THIS->SetLinkColor( *( clr ) );
3129     }
3130     XSRETURN_EMPTY;
3131 }
3132
3133
3134 XS(XS_Wx__HtmlWinParser_GetActualColor); /* prototype to pass -Wmissing-prototypes */
3135 XS(XS_Wx__HtmlWinParser_GetActualColor)
3136 {
3137 #ifdef dVAR
3138     dVAR; dXSARGS;
3139 #else
3140     dXSARGS;
3141 #endif
3142     if (items != 1)
3143        croak_xs_usage(cv,  "THIS");
3144     {
3145         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3146         wxColour *      RETVAL;
3147     RETVAL = new wxColour( THIS->GetActualColor() );
3148         ST(0) = sv_newmortal();
3149     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
3150     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
3151
3152     }
3153     XSRETURN(1);
3154 }
3155
3156
3157 XS(XS_Wx__HtmlWinParser_SetActualColor); /* prototype to pass -Wmissing-prototypes */
3158 XS(XS_Wx__HtmlWinParser_SetActualColor)
3159 {
3160 #ifdef dVAR
3161     dVAR; dXSARGS;
3162 #else
3163     dXSARGS;
3164 #endif
3165     if (items != 2)
3166        croak_xs_usage(cv,  "THIS, clr");
3167     {
3168         wxColour*    clr = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
3169         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3170     THIS->SetActualColor( *( clr ) );
3171     }
3172     XSRETURN_EMPTY;
3173 }
3174
3175
3176 XS(XS_Wx__HtmlWinParser_GetLink); /* prototype to pass -Wmissing-prototypes */
3177 XS(XS_Wx__HtmlWinParser_GetLink)
3178 {
3179 #ifdef dVAR
3180     dVAR; dXSARGS;
3181 #else
3182     dXSARGS;
3183 #endif
3184     if (items != 1)
3185        croak_xs_usage(cv,  "THIS");
3186     {
3187         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3188         wxHtmlLinkInfo *        RETVAL;
3189     RETVAL = new wxHtmlLinkInfo( THIS->GetLink() );
3190         ST(0) = sv_newmortal();
3191     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlLinkInfo" );
3192
3193     }
3194     XSRETURN(1);
3195 }
3196
3197
3198 XS(XS_Wx__HtmlWinParser_SetLink); /* prototype to pass -Wmissing-prototypes */
3199 XS(XS_Wx__HtmlWinParser_SetLink)
3200 {
3201 #ifdef dVAR
3202     dVAR; dXSARGS;
3203 #else
3204     dXSARGS;
3205 #endif
3206     if (items != 2)
3207        croak_xs_usage(cv,  "THIS, link");
3208     {
3209         wxHtmlLinkInfo*    link = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlLinkInfo" );
3210         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3211     THIS->SetLink( *( link ) );
3212     }
3213     XSRETURN_EMPTY;
3214 }
3215
3216 #if !wxUSE_UNICODE
3217 #define XSubPPtmpAAAN 1
3218
3219
3220 XS(XS_Wx__HtmlWinParser_SetInputEncoding); /* prototype to pass -Wmissing-prototypes */
3221 XS(XS_Wx__HtmlWinParser_SetInputEncoding)
3222 {
3223 #ifdef dVAR
3224     dVAR; dXSARGS;
3225 #else
3226     dXSARGS;
3227 #endif
3228     if (items != 2)
3229        croak_xs_usage(cv,  "THIS, enc");
3230     {
3231         wxFontEncoding  enc = (wxFontEncoding)SvIV(ST(1));
3232         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3233
3234         THIS->SetInputEncoding(enc);
3235     }
3236     XSRETURN_EMPTY;
3237 }
3238
3239
3240 XS(XS_Wx__HtmlWinParser_GetInputEncoding); /* prototype to pass -Wmissing-prototypes */
3241 XS(XS_Wx__HtmlWinParser_GetInputEncoding)
3242 {
3243 #ifdef dVAR
3244     dVAR; dXSARGS;
3245 #else
3246     dXSARGS;
3247 #endif
3248     if (items != 1)
3249        croak_xs_usage(cv,  "THIS");
3250     {
3251         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3252         wxFontEncoding  RETVAL;
3253         dXSTARG;
3254
3255         RETVAL = THIS->GetInputEncoding();
3256         XSprePUSH; PUSHi((IV)RETVAL);
3257     }
3258     XSRETURN(1);
3259 }
3260
3261
3262 XS(XS_Wx__HtmlWinParser_GetOutputEncoding); /* prototype to pass -Wmissing-prototypes */
3263 XS(XS_Wx__HtmlWinParser_GetOutputEncoding)
3264 {
3265 #ifdef dVAR
3266     dVAR; dXSARGS;
3267 #else
3268     dXSARGS;
3269 #endif
3270     if (items != 1)
3271        croak_xs_usage(cv,  "THIS");
3272     {
3273         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3274         wxFontEncoding  RETVAL;
3275         dXSTARG;
3276
3277         RETVAL = THIS->GetOutputEncoding();
3278         XSprePUSH; PUSHi((IV)RETVAL);
3279     }
3280     XSRETURN(1);
3281 }
3282
3283
3284 XS(XS_Wx__HtmlWinParser_GetEncodingConverter); /* prototype to pass -Wmissing-prototypes */
3285 XS(XS_Wx__HtmlWinParser_GetEncodingConverter)
3286 {
3287 #ifdef dVAR
3288     dVAR; dXSARGS;
3289 #else
3290     dXSARGS;
3291 #endif
3292     if (items != 1)
3293        croak_xs_usage(cv,  "THIS");
3294     {
3295         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3296         wxEncodingConverter *   RETVAL;
3297
3298         RETVAL = THIS->GetEncodingConverter();
3299         ST(0) = sv_newmortal();
3300     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3301
3302     }
3303     XSRETURN(1);
3304 }
3305
3306 #endif
3307
3308 XS(XS_Wx__HtmlWinParser_CreateCurrentFont); /* prototype to pass -Wmissing-prototypes */
3309 XS(XS_Wx__HtmlWinParser_CreateCurrentFont)
3310 {
3311 #ifdef dVAR
3312     dVAR; dXSARGS;
3313 #else
3314     dXSARGS;
3315 #endif
3316     if (items != 1)
3317        croak_xs_usage(cv,  "THIS");
3318     {
3319         wxHtmlWinParser *    THIS = (wxHtmlWinParser *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWinParser" );
3320         wxFont *        RETVAL;
3321
3322         RETVAL = THIS->CreateCurrentFont();
3323         ST(0) = sv_newmortal();
3324     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3325     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
3326
3327     }
3328     XSRETURN(1);
3329 }
3330
3331
3332 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlParser.xsp |' */
3333
3334
3335 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTagHandler.xsp |' from 'Html.xs' */
3336
3337 #include <wx/html/htmlpars.h>
3338 #include "cpp/htmltag.h"
3339
3340 XS(XS_Wx__HtmlTagHandler_SetParser); /* prototype to pass -Wmissing-prototypes */
3341 XS(XS_Wx__HtmlTagHandler_SetParser)
3342 {
3343 #ifdef dVAR
3344     dVAR; dXSARGS;
3345 #else
3346     dXSARGS;
3347 #endif
3348     if (items != 2)
3349        croak_xs_usage(cv,  "THIS, parser");
3350     {
3351         wxHtmlParser*    parser = (wxHtmlParser *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlParser" );
3352         wxHtmlTagHandler *    THIS = (wxHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTagHandler" );
3353
3354         THIS->SetParser(parser);
3355     }
3356     XSRETURN_EMPTY;
3357 }
3358
3359
3360 XS(XS_Wx__HtmlTagHandler_GetSupportedTags); /* prototype to pass -Wmissing-prototypes */
3361 XS(XS_Wx__HtmlTagHandler_GetSupportedTags)
3362 {
3363 #ifdef dVAR
3364     dVAR; dXSARGS;
3365 #else
3366     dXSARGS;
3367 #endif
3368     if (items != 1)
3369        croak_xs_usage(cv,  "THIS");
3370     {
3371         wxHtmlTagHandler *    THIS = (wxHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTagHandler" );
3372         wxString        RETVAL;
3373
3374         RETVAL = THIS->GetSupportedTags();
3375         ST(0) = sv_newmortal();
3376     WXSTRING_OUTPUT( RETVAL, ST(0) );
3377
3378     }
3379     XSRETURN(1);
3380 }
3381
3382
3383 XS(XS_Wx__HtmlTagHandler_HandleTag); /* prototype to pass -Wmissing-prototypes */
3384 XS(XS_Wx__HtmlTagHandler_HandleTag)
3385 {
3386 #ifdef dVAR
3387     dVAR; dXSARGS;
3388 #else
3389     dXSARGS;
3390 #endif
3391     if (items != 2)
3392        croak_xs_usage(cv,  "THIS, tag");
3393     {
3394         wxHtmlTag*    tag = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlTag" );
3395         wxHtmlTagHandler *    THIS = (wxHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTagHandler" );
3396         bool    RETVAL;
3397     RETVAL = THIS->HandleTag( *( tag ) );
3398         ST(0) = boolSV(RETVAL);
3399         sv_2mortal(ST(0));
3400     }
3401     XSRETURN(1);
3402 }
3403
3404
3405 XS(XS_Wx__PlHtmlTagHandler_new); /* prototype to pass -Wmissing-prototypes */
3406 XS(XS_Wx__PlHtmlTagHandler_new)
3407 {
3408 #ifdef dVAR
3409     dVAR; dXSARGS;
3410 #else
3411     dXSARGS;
3412 #endif
3413     if (items != 1)
3414        croak_xs_usage(cv,  "CLASS");
3415     {
3416         char *  CLASS = (char *)SvPV_nolen(ST(0));
3417         wxPlHtmlTagHandler *    RETVAL;
3418      RETVAL = new wxPlHtmlTagHandler( CLASS ); 
3419         ST(0) = sv_newmortal();
3420     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3421
3422     }
3423     XSRETURN(1);
3424 }
3425
3426
3427 XS(XS_Wx__PlHtmlTagHandler_GetParser); /* prototype to pass -Wmissing-prototypes */
3428 XS(XS_Wx__PlHtmlTagHandler_GetParser)
3429 {
3430 #ifdef dVAR
3431     dVAR; dXSARGS;
3432 #else
3433     dXSARGS;
3434 #endif
3435     if (items != 1)
3436        croak_xs_usage(cv,  "THIS");
3437     {
3438         wxPlHtmlTagHandler *    THIS = (wxPlHtmlTagHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlHtmlTagHandler" );
3439         wxHtmlParser *  RETVAL;
3440
3441         RETVAL = THIS->GetParser();
3442         ST(0) = sv_newmortal();
3443     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3444
3445     }
3446     XSRETURN(1);
3447 }
3448
3449
3450 XS(XS_Wx__PlHtmlWinTagHandler_new); /* prototype to pass -Wmissing-prototypes */
3451 XS(XS_Wx__PlHtmlWinTagHandler_new)
3452 {
3453 #ifdef dVAR
3454     dVAR; dXSARGS;
3455 #else
3456     dXSARGS;
3457 #endif
3458     if (items != 1)
3459        croak_xs_usage(cv,  "CLASS");
3460     {
3461         char *  CLASS = (char *)SvPV_nolen(ST(0));
3462         wxPlHtmlWinTagHandler * RETVAL;
3463      RETVAL = new wxPlHtmlWinTagHandler( CLASS ); 
3464         ST(0) = sv_newmortal();
3465     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3466
3467     }
3468     XSRETURN(1);
3469 }
3470
3471
3472 XS(XS_Wx__PlHtmlWinTagHandler_GetParser); /* prototype to pass -Wmissing-prototypes */
3473 XS(XS_Wx__PlHtmlWinTagHandler_GetParser)
3474 {
3475 #ifdef dVAR
3476     dVAR; dXSARGS;
3477 #else
3478     dXSARGS;
3479 #endif
3480     if (items != 1)
3481        croak_xs_usage(cv,  "THIS");
3482     {
3483         wxPlHtmlWinTagHandler *    THIS = (wxPlHtmlWinTagHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlHtmlWinTagHandler" );
3484         wxHtmlWinParser *       RETVAL;
3485
3486         RETVAL = THIS->GetParser();
3487         ST(0) = sv_newmortal();
3488     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3489
3490     }
3491     XSRETURN(1);
3492 }
3493
3494
3495 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTagHandler.xsp |' */
3496
3497
3498 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTag.xsp |' from 'Html.xs' */
3499
3500 #include <wx/html/htmltag.h>
3501
3502 XS(XS_Wx__HtmlTag_GetParent); /* prototype to pass -Wmissing-prototypes */
3503 XS(XS_Wx__HtmlTag_GetParent)
3504 {
3505 #ifdef dVAR
3506     dVAR; dXSARGS;
3507 #else
3508     dXSARGS;
3509 #endif
3510     if (items != 1)
3511        croak_xs_usage(cv,  "THIS");
3512     {
3513         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3514         wxHtmlTag *     RETVAL;
3515
3516         RETVAL = THIS->GetParent();
3517         ST(0) = sv_newmortal();
3518     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3519
3520     }
3521     XSRETURN(1);
3522 }
3523
3524
3525 XS(XS_Wx__HtmlTag_GetFirstSibling); /* prototype to pass -Wmissing-prototypes */
3526 XS(XS_Wx__HtmlTag_GetFirstSibling)
3527 {
3528 #ifdef dVAR
3529     dVAR; dXSARGS;
3530 #else
3531     dXSARGS;
3532 #endif
3533     if (items != 1)
3534        croak_xs_usage(cv,  "THIS");
3535     {
3536         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3537         wxHtmlTag *     RETVAL;
3538
3539         RETVAL = THIS->GetFirstSibling();
3540         ST(0) = sv_newmortal();
3541     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3542
3543     }
3544     XSRETURN(1);
3545 }
3546
3547
3548 XS(XS_Wx__HtmlTag_GetLastSibling); /* prototype to pass -Wmissing-prototypes */
3549 XS(XS_Wx__HtmlTag_GetLastSibling)
3550 {
3551 #ifdef dVAR
3552     dVAR; dXSARGS;
3553 #else
3554     dXSARGS;
3555 #endif
3556     if (items != 1)
3557        croak_xs_usage(cv,  "THIS");
3558     {
3559         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3560         wxHtmlTag *     RETVAL;
3561
3562         RETVAL = THIS->GetLastSibling();
3563         ST(0) = sv_newmortal();
3564     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3565
3566     }
3567     XSRETURN(1);
3568 }
3569
3570
3571 XS(XS_Wx__HtmlTag_GetChildren); /* prototype to pass -Wmissing-prototypes */
3572 XS(XS_Wx__HtmlTag_GetChildren)
3573 {
3574 #ifdef dVAR
3575     dVAR; dXSARGS;
3576 #else
3577     dXSARGS;
3578 #endif
3579     if (items != 1)
3580        croak_xs_usage(cv,  "THIS");
3581     {
3582         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3583         wxHtmlTag *     RETVAL;
3584
3585         RETVAL = THIS->GetChildren();
3586         ST(0) = sv_newmortal();
3587     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3588
3589     }
3590     XSRETURN(1);
3591 }
3592
3593
3594 XS(XS_Wx__HtmlTag_GetPreviousSibling); /* prototype to pass -Wmissing-prototypes */
3595 XS(XS_Wx__HtmlTag_GetPreviousSibling)
3596 {
3597 #ifdef dVAR
3598     dVAR; dXSARGS;
3599 #else
3600     dXSARGS;
3601 #endif
3602     if (items != 1)
3603        croak_xs_usage(cv,  "THIS");
3604     {
3605         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3606         wxHtmlTag *     RETVAL;
3607
3608         RETVAL = THIS->GetPreviousSibling();
3609         ST(0) = sv_newmortal();
3610     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3611
3612     }
3613     XSRETURN(1);
3614 }
3615
3616
3617 XS(XS_Wx__HtmlTag_GetNextSibling); /* prototype to pass -Wmissing-prototypes */
3618 XS(XS_Wx__HtmlTag_GetNextSibling)
3619 {
3620 #ifdef dVAR
3621     dVAR; dXSARGS;
3622 #else
3623     dXSARGS;
3624 #endif
3625     if (items != 1)
3626        croak_xs_usage(cv,  "THIS");
3627     {
3628         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3629         wxHtmlTag *     RETVAL;
3630
3631         RETVAL = THIS->GetNextSibling();
3632         ST(0) = sv_newmortal();
3633     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3634
3635     }
3636     XSRETURN(1);
3637 }
3638
3639
3640 XS(XS_Wx__HtmlTag_GetNextTag); /* prototype to pass -Wmissing-prototypes */
3641 XS(XS_Wx__HtmlTag_GetNextTag)
3642 {
3643 #ifdef dVAR
3644     dVAR; dXSARGS;
3645 #else
3646     dXSARGS;
3647 #endif
3648     if (items != 1)
3649        croak_xs_usage(cv,  "THIS");
3650     {
3651         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3652         wxHtmlTag *     RETVAL;
3653
3654         RETVAL = THIS->GetNextTag();
3655         ST(0) = sv_newmortal();
3656     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlTag" );
3657
3658     }
3659     XSRETURN(1);
3660 }
3661
3662
3663 XS(XS_Wx__HtmlTag_GetName); /* prototype to pass -Wmissing-prototypes */
3664 XS(XS_Wx__HtmlTag_GetName)
3665 {
3666 #ifdef dVAR
3667     dVAR; dXSARGS;
3668 #else
3669     dXSARGS;
3670 #endif
3671     if (items != 1)
3672        croak_xs_usage(cv,  "THIS");
3673     {
3674         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3675         wxString        RETVAL;
3676
3677         RETVAL = THIS->GetName();
3678         ST(0) = sv_newmortal();
3679     WXSTRING_OUTPUT( RETVAL, ST(0) );
3680
3681     }
3682     XSRETURN(1);
3683 }
3684
3685
3686 XS(XS_Wx__HtmlTag_HasParam); /* prototype to pass -Wmissing-prototypes */
3687 XS(XS_Wx__HtmlTag_HasParam)
3688 {
3689 #ifdef dVAR
3690     dVAR; dXSARGS;
3691 #else
3692     dXSARGS;
3693 #endif
3694     if (items != 2)
3695        croak_xs_usage(cv,  "THIS, par");
3696     {
3697         wxString        par;
3698         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3699         bool    RETVAL;
3700
3701     WXSTRING_INPUT( par, wxString, ST(1) );
3702
3703         RETVAL = THIS->HasParam(par);
3704         ST(0) = boolSV(RETVAL);
3705         sv_2mortal(ST(0));
3706     }
3707     XSRETURN(1);
3708 }
3709
3710
3711 XS(XS_Wx__HtmlTag_GetParam); /* prototype to pass -Wmissing-prototypes */
3712 XS(XS_Wx__HtmlTag_GetParam)
3713 {
3714 #ifdef dVAR
3715     dVAR; dXSARGS;
3716 #else
3717     dXSARGS;
3718 #endif
3719     if (items < 2 || items > 3)
3720        croak_xs_usage(cv,  "THIS, par, with_commas = false");
3721     {
3722         wxString        par;
3723         bool    with_commas;
3724         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3725         wxString        RETVAL;
3726
3727     WXSTRING_INPUT( par, wxString, ST(1) );
3728
3729         if (items < 3)
3730             with_commas = false;
3731         else {
3732             with_commas = (bool)SvTRUE(ST(2));
3733         }
3734
3735         RETVAL = THIS->GetParam(par, with_commas);
3736         ST(0) = sv_newmortal();
3737     WXSTRING_OUTPUT( RETVAL, ST(0) );
3738
3739     }
3740     XSRETURN(1);
3741 }
3742
3743
3744 XS(XS_Wx__HtmlTag_GetAllParams); /* prototype to pass -Wmissing-prototypes */
3745 XS(XS_Wx__HtmlTag_GetAllParams)
3746 {
3747 #ifdef dVAR
3748     dVAR; dXSARGS;
3749 #else
3750     dXSARGS;
3751 #endif
3752     if (items != 1)
3753        croak_xs_usage(cv,  "THIS");
3754     {
3755         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3756         wxString        RETVAL;
3757
3758         RETVAL = THIS->GetAllParams();
3759         ST(0) = sv_newmortal();
3760     WXSTRING_OUTPUT( RETVAL, ST(0) );
3761
3762     }
3763     XSRETURN(1);
3764 }
3765
3766
3767 XS(XS_Wx__HtmlTag_HasEnding); /* prototype to pass -Wmissing-prototypes */
3768 XS(XS_Wx__HtmlTag_HasEnding)
3769 {
3770 #ifdef dVAR
3771     dVAR; dXSARGS;
3772 #else
3773     dXSARGS;
3774 #endif
3775     if (items != 1)
3776        croak_xs_usage(cv,  "THIS");
3777     {
3778         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3779         bool    RETVAL;
3780
3781         RETVAL = THIS->HasEnding();
3782         ST(0) = boolSV(RETVAL);
3783         sv_2mortal(ST(0));
3784     }
3785     XSRETURN(1);
3786 }
3787
3788 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
3789 #define XSubPPtmpAAAO 1
3790
3791
3792 XS(XS_Wx__HtmlTag_GetBeginPos); /* prototype to pass -Wmissing-prototypes */
3793 XS(XS_Wx__HtmlTag_GetBeginPos)
3794 {
3795 #ifdef dVAR
3796     dVAR; dXSARGS;
3797 #else
3798     dXSARGS;
3799 #endif
3800     if (items != 1)
3801        croak_xs_usage(cv,  "THIS");
3802     {
3803         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3804         int     RETVAL;
3805         dXSTARG;
3806
3807         RETVAL = THIS->GetBeginPos();
3808         XSprePUSH; PUSHi((IV)RETVAL);
3809     }
3810     XSRETURN(1);
3811 }
3812
3813
3814 XS(XS_Wx__HtmlTag_GetEndPos1); /* prototype to pass -Wmissing-prototypes */
3815 XS(XS_Wx__HtmlTag_GetEndPos1)
3816 {
3817 #ifdef dVAR
3818     dVAR; dXSARGS;
3819 #else
3820     dXSARGS;
3821 #endif
3822     if (items != 1)
3823        croak_xs_usage(cv,  "THIS");
3824     {
3825         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3826         int     RETVAL;
3827         dXSTARG;
3828
3829         RETVAL = THIS->GetEndPos1();
3830         XSprePUSH; PUSHi((IV)RETVAL);
3831     }
3832     XSRETURN(1);
3833 }
3834
3835
3836 XS(XS_Wx__HtmlTag_GetEndPos2); /* prototype to pass -Wmissing-prototypes */
3837 XS(XS_Wx__HtmlTag_GetEndPos2)
3838 {
3839 #ifdef dVAR
3840     dVAR; dXSARGS;
3841 #else
3842     dXSARGS;
3843 #endif
3844     if (items != 1)
3845        croak_xs_usage(cv,  "THIS");
3846     {
3847         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3848         int     RETVAL;
3849         dXSTARG;
3850
3851         RETVAL = THIS->GetEndPos2();
3852         XSprePUSH; PUSHi((IV)RETVAL);
3853     }
3854     XSRETURN(1);
3855 }
3856
3857 #endif
3858
3859 XS(XS_Wx__HtmlTag_GetParamAsColour); /* prototype to pass -Wmissing-prototypes */
3860 XS(XS_Wx__HtmlTag_GetParamAsColour)
3861 {
3862 #ifdef dVAR
3863     dVAR; dXSARGS;
3864 #else
3865     dXSARGS;
3866 #endif
3867     if (items != 2)
3868        croak_xs_usage(cv,  "THIS, par");
3869     PERL_UNUSED_VAR(ax); /* -Wall */
3870     SP -= items;
3871     {
3872         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3873         wxString        par;
3874
3875     WXSTRING_INPUT( par, wxString, ST(1) );
3876     wxColour col;
3877     bool ret = THIS->GetParamAsColour( par, &col );
3878
3879     EXTEND( SP, 2 );
3880     XPUSHs( newSViv( ret ) );
3881     XPUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
3882                                    ( ret ? new wxColour( col ) : NULL ),
3883                                    "Wx::Colour" ) );
3884         PUTBACK;
3885         return;
3886     }
3887 }
3888
3889
3890 XS(XS_Wx__HtmlTag_GetParamAsInt); /* prototype to pass -Wmissing-prototypes */
3891 XS(XS_Wx__HtmlTag_GetParamAsInt)
3892 {
3893 #ifdef dVAR
3894     dVAR; dXSARGS;
3895 #else
3896     dXSARGS;
3897 #endif
3898     if (items != 2)
3899        croak_xs_usage(cv,  "THIS, par");
3900     PERL_UNUSED_VAR(ax); /* -Wall */
3901     SP -= items;
3902     {
3903         wxHtmlTag *    THIS = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlTag" );
3904         wxString        par;
3905
3906     WXSTRING_INPUT( par, wxString, ST(1) );
3907     int val;
3908     bool ret = THIS->GetParamAsInt( par, &val );
3909
3910     EXTEND( SP, 2 );
3911     XPUSHs( newSViv( ret ) );
3912     XPUSHs( newSViv( val ) );
3913         PUTBACK;
3914         return;
3915     }
3916 }
3917
3918
3919 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlTag.xsp |' */
3920
3921
3922 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlCell.xsp |' from 'Html.xs' */
3923
3924 #include <wx/html/htmlcell.h>
3925
3926 XS(XS_Wx__HtmlCell_new); /* prototype to pass -Wmissing-prototypes */
3927 XS(XS_Wx__HtmlCell_new)
3928 {
3929 #ifdef dVAR
3930     dVAR; dXSARGS;
3931 #else
3932     dXSARGS;
3933 #endif
3934     if (items != 1)
3935        croak_xs_usage(cv,  "CLASS");
3936     {
3937         char *  CLASS = (char *)SvPV_nolen(ST(0));
3938         wxHtmlCell *    RETVAL;
3939
3940         RETVAL = new wxHtmlCell();
3941         ST(0) = sv_newmortal();
3942     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3943
3944     }
3945     XSRETURN(1);
3946 }
3947
3948
3949 XS(XS_Wx__HtmlCell_Destroy); /* prototype to pass -Wmissing-prototypes */
3950 XS(XS_Wx__HtmlCell_Destroy)
3951 {
3952 #ifdef dVAR
3953     dVAR; dXSARGS;
3954 #else
3955     dXSARGS;
3956 #endif
3957     if (items != 1)
3958        croak_xs_usage(cv,  "THIS");
3959     {
3960         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
3961       delete THIS; 
3962     }
3963     XSRETURN_EMPTY;
3964 }
3965
3966
3967 XS(XS_Wx__HtmlCell_SetParent); /* prototype to pass -Wmissing-prototypes */
3968 XS(XS_Wx__HtmlCell_SetParent)
3969 {
3970 #ifdef dVAR
3971     dVAR; dXSARGS;
3972 #else
3973     dXSARGS;
3974 #endif
3975     if (items != 2)
3976        croak_xs_usage(cv,  "THIS, p");
3977     {
3978         wxHtmlContainerCell*    p = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlContainerCell" );
3979         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
3980
3981         THIS->SetParent(p);
3982     }
3983     XSRETURN_EMPTY;
3984 }
3985
3986
3987 XS(XS_Wx__HtmlCell_GetParent); /* prototype to pass -Wmissing-prototypes */
3988 XS(XS_Wx__HtmlCell_GetParent)
3989 {
3990 #ifdef dVAR
3991     dVAR; dXSARGS;
3992 #else
3993     dXSARGS;
3994 #endif
3995     if (items != 1)
3996        croak_xs_usage(cv,  "THIS");
3997     {
3998         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
3999         wxHtmlContainerCell *   RETVAL;
4000
4001         RETVAL = THIS->GetParent();
4002         ST(0) = sv_newmortal();
4003     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4004
4005     }
4006     XSRETURN(1);
4007 }
4008
4009
4010 XS(XS_Wx__HtmlCell_GetPosX); /* prototype to pass -Wmissing-prototypes */
4011 XS(XS_Wx__HtmlCell_GetPosX)
4012 {
4013 #ifdef dVAR
4014     dVAR; dXSARGS;
4015 #else
4016     dXSARGS;
4017 #endif
4018     if (items != 1)
4019        croak_xs_usage(cv,  "THIS");
4020     {
4021         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4022         int     RETVAL;
4023         dXSTARG;
4024
4025         RETVAL = THIS->GetPosX();
4026         XSprePUSH; PUSHi((IV)RETVAL);
4027     }
4028     XSRETURN(1);
4029 }
4030
4031
4032 XS(XS_Wx__HtmlCell_GetPosY); /* prototype to pass -Wmissing-prototypes */
4033 XS(XS_Wx__HtmlCell_GetPosY)
4034 {
4035 #ifdef dVAR
4036     dVAR; dXSARGS;
4037 #else
4038     dXSARGS;
4039 #endif
4040     if (items != 1)
4041        croak_xs_usage(cv,  "THIS");
4042     {
4043         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4044         int     RETVAL;
4045         dXSTARG;
4046
4047         RETVAL = THIS->GetPosY();
4048         XSprePUSH; PUSHi((IV)RETVAL);
4049     }
4050     XSRETURN(1);
4051 }
4052
4053
4054 XS(XS_Wx__HtmlCell_GetWidth); /* prototype to pass -Wmissing-prototypes */
4055 XS(XS_Wx__HtmlCell_GetWidth)
4056 {
4057 #ifdef dVAR
4058     dVAR; dXSARGS;
4059 #else
4060     dXSARGS;
4061 #endif
4062     if (items != 1)
4063        croak_xs_usage(cv,  "THIS");
4064     {
4065         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4066         int     RETVAL;
4067         dXSTARG;
4068
4069         RETVAL = THIS->GetWidth();
4070         XSprePUSH; PUSHi((IV)RETVAL);
4071     }
4072     XSRETURN(1);
4073 }
4074
4075
4076 XS(XS_Wx__HtmlCell_GetHeight); /* prototype to pass -Wmissing-prototypes */
4077 XS(XS_Wx__HtmlCell_GetHeight)
4078 {
4079 #ifdef dVAR
4080     dVAR; dXSARGS;
4081 #else
4082     dXSARGS;
4083 #endif
4084     if (items != 1)
4085        croak_xs_usage(cv,  "THIS");
4086     {
4087         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4088         int     RETVAL;
4089         dXSTARG;
4090
4091         RETVAL = THIS->GetHeight();
4092         XSprePUSH; PUSHi((IV)RETVAL);
4093     }
4094     XSRETURN(1);
4095 }
4096
4097
4098 XS(XS_Wx__HtmlCell_GetDescent); /* prototype to pass -Wmissing-prototypes */
4099 XS(XS_Wx__HtmlCell_GetDescent)
4100 {
4101 #ifdef dVAR
4102     dVAR; dXSARGS;
4103 #else
4104     dXSARGS;
4105 #endif
4106     if (items != 1)
4107        croak_xs_usage(cv,  "THIS");
4108     {
4109         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4110         int     RETVAL;
4111         dXSTARG;
4112
4113         RETVAL = THIS->GetDescent();
4114         XSprePUSH; PUSHi((IV)RETVAL);
4115     }
4116     XSRETURN(1);
4117 }
4118
4119 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4120 #define XSubPPtmpAAAP 1
4121
4122
4123 XS(XS_Wx__HtmlCell_IsFormattingCell); /* prototype to pass -Wmissing-prototypes */
4124 XS(XS_Wx__HtmlCell_IsFormattingCell)
4125 {
4126 #ifdef dVAR
4127     dVAR; dXSARGS;
4128 #else
4129     dXSARGS;
4130 #endif
4131     if (items != 1)
4132        croak_xs_usage(cv,  "THIS");
4133     {
4134         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4135         bool    RETVAL;
4136
4137         RETVAL = THIS->IsFormattingCell();
4138         ST(0) = boolSV(RETVAL);
4139         sv_2mortal(ST(0));
4140     }
4141     XSRETURN(1);
4142 }
4143
4144 #endif
4145
4146 XS(XS_Wx__HtmlCell_GetId); /* prototype to pass -Wmissing-prototypes */
4147 XS(XS_Wx__HtmlCell_GetId)
4148 {
4149 #ifdef dVAR
4150     dVAR; dXSARGS;
4151 #else
4152     dXSARGS;
4153 #endif
4154     if (items != 1)
4155        croak_xs_usage(cv,  "THIS");
4156     {
4157         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4158         wxString        RETVAL;
4159
4160         RETVAL = THIS->GetId();
4161         ST(0) = sv_newmortal();
4162     WXSTRING_OUTPUT( RETVAL, ST(0) );
4163
4164     }
4165     XSRETURN(1);
4166 }
4167
4168
4169 XS(XS_Wx__HtmlCell_SetId); /* prototype to pass -Wmissing-prototypes */
4170 XS(XS_Wx__HtmlCell_SetId)
4171 {
4172 #ifdef dVAR
4173     dVAR; dXSARGS;
4174 #else
4175     dXSARGS;
4176 #endif
4177     if (items != 2)
4178        croak_xs_usage(cv,  "THIS, id");
4179     {
4180         wxString        id;
4181         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4182
4183     WXSTRING_INPUT( id, wxString, ST(1) );
4184
4185         THIS->SetId(id);
4186     }
4187     XSRETURN_EMPTY;
4188 }
4189
4190
4191 XS(XS_Wx__HtmlCell_GetLink); /* prototype to pass -Wmissing-prototypes */
4192 XS(XS_Wx__HtmlCell_GetLink)
4193 {
4194 #ifdef dVAR
4195     dVAR; dXSARGS;
4196 #else
4197     dXSARGS;
4198 #endif
4199     if (items < 1 || items > 3)
4200        croak_xs_usage(cv,  "THIS, x = 0, y = 0");
4201     {
4202         int     x;
4203         int     y;
4204         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4205         wxHtmlLinkInfo *        RETVAL;
4206
4207         if (items < 2)
4208             x = 0;
4209         else {
4210             x = (int)SvIV(ST(1));
4211         }
4212
4213         if (items < 3)
4214             y = 0;
4215         else {
4216             y = (int)SvIV(ST(2));
4217         }
4218
4219         RETVAL = THIS->GetLink(x, y);
4220         ST(0) = sv_newmortal();
4221     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::HtmlLinkInfo" );
4222
4223     }
4224     XSRETURN(1);
4225 }
4226
4227 #if WXPERL_W_VERSION_GE( 2, 5, 1 ) && WXPERL_W_VERSION_LT( 2, 7, 0 )
4228 #define XSubPPtmpAAAQ 1
4229
4230
4231 XS(XS_Wx__HtmlCell_GetCursor); /* prototype to pass -Wmissing-prototypes */
4232 XS(XS_Wx__HtmlCell_GetCursor)
4233 {
4234 #ifdef dVAR
4235     dVAR; dXSARGS;
4236 #else
4237     dXSARGS;
4238 #endif
4239     if (items != 1)
4240        croak_xs_usage(cv,  "THIS");
4241     {
4242         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4243         wxCursor *      RETVAL;
4244     RETVAL = new wxCursor( THIS->GetCursor() );
4245         ST(0) = sv_newmortal();
4246     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4247     wxPli_thread_sv_register( aTHX_ "Wx::Cursor", RETVAL, ST(0) );
4248
4249     }
4250     XSRETURN(1);
4251 }
4252
4253 #endif
4254
4255 XS(XS_Wx__HtmlCell_GetNext); /* prototype to pass -Wmissing-prototypes */
4256 XS(XS_Wx__HtmlCell_GetNext)
4257 {
4258 #ifdef dVAR
4259     dVAR; dXSARGS;
4260 #else
4261     dXSARGS;
4262 #endif
4263     if (items != 1)
4264        croak_xs_usage(cv,  "THIS");
4265     {
4266         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4267         wxHtmlCell *    RETVAL;
4268
4269         RETVAL = THIS->GetNext();
4270         ST(0) = sv_newmortal();
4271     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4272
4273     }
4274     XSRETURN(1);
4275 }
4276
4277 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4278 #define XSubPPtmpAAAR 1
4279
4280
4281 XS(XS_Wx__HtmlCell_GetFirstChild); /* prototype to pass -Wmissing-prototypes */
4282 XS(XS_Wx__HtmlCell_GetFirstChild)
4283 {
4284 #ifdef dVAR
4285     dVAR; dXSARGS;
4286 #else
4287     dXSARGS;
4288 #endif
4289     if (items != 1)
4290        croak_xs_usage(cv,  "THIS");
4291     {
4292         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4293         wxHtmlCell *    RETVAL;
4294
4295         RETVAL = THIS->GetFirstChild();
4296         ST(0) = sv_newmortal();
4297     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4298
4299     }
4300     XSRETURN(1);
4301 }
4302
4303 #endif
4304
4305 XS(XS_Wx__HtmlCell_SetPos); /* prototype to pass -Wmissing-prototypes */
4306 XS(XS_Wx__HtmlCell_SetPos)
4307 {
4308 #ifdef dVAR
4309     dVAR; dXSARGS;
4310 #else
4311     dXSARGS;
4312 #endif
4313     if (items != 3)
4314        croak_xs_usage(cv,  "THIS, x, y");
4315     {
4316         int     x = (int)SvIV(ST(1));
4317         int     y = (int)SvIV(ST(2));
4318         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4319
4320         THIS->SetPos(x, y);
4321     }
4322     XSRETURN_EMPTY;
4323 }
4324
4325
4326 XS(XS_Wx__HtmlCell_SetLink); /* prototype to pass -Wmissing-prototypes */
4327 XS(XS_Wx__HtmlCell_SetLink)
4328 {
4329 #ifdef dVAR
4330     dVAR; dXSARGS;
4331 #else
4332     dXSARGS;
4333 #endif
4334     if (items != 2)
4335        croak_xs_usage(cv,  "THIS, link");
4336     {
4337         wxHtmlLinkInfo*    link = (wxHtmlLinkInfo *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlLinkInfo" );
4338         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4339     THIS->SetLink( *( link ) );
4340     }
4341     XSRETURN_EMPTY;
4342 }
4343
4344
4345 XS(XS_Wx__HtmlCell_SetNext); /* prototype to pass -Wmissing-prototypes */
4346 XS(XS_Wx__HtmlCell_SetNext)
4347 {
4348 #ifdef dVAR
4349     dVAR; dXSARGS;
4350 #else
4351     dXSARGS;
4352 #endif
4353     if (items != 2)
4354        croak_xs_usage(cv,  "THIS, cell");
4355     {
4356         wxHtmlCell*    cell = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlCell" );
4357         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4358
4359         THIS->SetNext(cell);
4360     }
4361     XSRETURN_EMPTY;
4362 }
4363
4364
4365 XS(XS_Wx__HtmlCell_Layout); /* prototype to pass -Wmissing-prototypes */
4366 XS(XS_Wx__HtmlCell_Layout)
4367 {
4368 #ifdef dVAR
4369     dVAR; dXSARGS;
4370 #else
4371     dXSARGS;
4372 #endif
4373     if (items != 2)
4374        croak_xs_usage(cv,  "THIS, w");
4375     {
4376         int     w = (int)SvIV(ST(1));
4377         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4378
4379         THIS->Layout(w);
4380     }
4381     XSRETURN_EMPTY;
4382 }
4383
4384
4385 XS(XS_Wx__HtmlCell_SetCanLiveOnPagebreak); /* prototype to pass -Wmissing-prototypes */
4386 XS(XS_Wx__HtmlCell_SetCanLiveOnPagebreak)
4387 {
4388 #ifdef dVAR
4389     dVAR; dXSARGS;
4390 #else
4391     dXSARGS;
4392 #endif
4393     if (items != 2)
4394        croak_xs_usage(cv,  "THIS, can");
4395     {
4396         bool    can = (bool)SvTRUE(ST(1));
4397         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4398
4399         THIS->SetCanLiveOnPagebreak(can);
4400     }
4401     XSRETURN_EMPTY;
4402 }
4403
4404 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4405 #define XSubPPtmpAAAS 1
4406
4407
4408 XS(XS_Wx__HtmlCell_IsLinebreakAllowed); /* prototype to pass -Wmissing-prototypes */
4409 XS(XS_Wx__HtmlCell_IsLinebreakAllowed)
4410 {
4411 #ifdef dVAR
4412     dVAR; dXSARGS;
4413 #else
4414     dXSARGS;
4415 #endif
4416     if (items != 1)
4417        croak_xs_usage(cv,  "THIS");
4418     {
4419         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4420         bool    RETVAL;
4421
4422         RETVAL = THIS->IsLinebreakAllowed();
4423         ST(0) = boolSV(RETVAL);
4424         sv_2mortal(ST(0));
4425     }
4426     XSRETURN(1);
4427 }
4428
4429 #endif
4430
4431 XS(XS_Wx__HtmlCell_IsTerminalCell); /* prototype to pass -Wmissing-prototypes */
4432 XS(XS_Wx__HtmlCell_IsTerminalCell)
4433 {
4434 #ifdef dVAR
4435     dVAR; dXSARGS;
4436 #else
4437     dXSARGS;
4438 #endif
4439     if (items != 1)
4440        croak_xs_usage(cv,  "THIS");
4441     {
4442         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4443         bool    RETVAL;
4444
4445         RETVAL = THIS->IsTerminalCell();
4446         ST(0) = boolSV(RETVAL);
4447         sv_2mortal(ST(0));
4448     }
4449     XSRETURN(1);
4450 }
4451
4452 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4453 #define XSubPPtmpAAAT 1
4454
4455
4456 XS(XS_Wx__HtmlCell_FindCellByPos); /* prototype to pass -Wmissing-prototypes */
4457 XS(XS_Wx__HtmlCell_FindCellByPos)
4458 {
4459 #ifdef dVAR
4460     dVAR; dXSARGS;
4461 #else
4462     dXSARGS;
4463 #endif
4464     if (items < 3 || items > 4)
4465        croak_xs_usage(cv,  "THIS, x, y, flags = wxHTML_FIND_EXACT");
4466     {
4467         wxCoord x = (wxCoord)SvIV(ST(1));
4468         wxCoord y = (wxCoord)SvIV(ST(2));
4469         unsigned int    flags;
4470         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4471         wxHtmlCell *    RETVAL;
4472
4473         if (items < 4)
4474             flags = wxHTML_FIND_EXACT;
4475         else {
4476     flags = (unsigned int)SvUV( ST(3) );
4477         }
4478
4479         RETVAL = THIS->FindCellByPos(x, y, flags);
4480         ST(0) = sv_newmortal();
4481     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4482
4483     }
4484     XSRETURN(1);
4485 }
4486
4487
4488 XS(XS_Wx__HtmlCell_GetAbsPos); /* prototype to pass -Wmissing-prototypes */
4489 XS(XS_Wx__HtmlCell_GetAbsPos)
4490 {
4491 #ifdef dVAR
4492     dVAR; dXSARGS;
4493 #else
4494     dXSARGS;
4495 #endif
4496     if (items != 1)
4497        croak_xs_usage(cv,  "THIS");
4498     {
4499         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4500         wxPoint RETVAL;
4501
4502         RETVAL = THIS->GetAbsPos();
4503         ST(0) = sv_newmortal();
4504     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
4505
4506     }
4507     XSRETURN(1);
4508 }
4509
4510
4511 XS(XS_Wx__HtmlCell_GetFirstTerminal); /* prototype to pass -Wmissing-prototypes */
4512 XS(XS_Wx__HtmlCell_GetFirstTerminal)
4513 {
4514 #ifdef dVAR
4515     dVAR; dXSARGS;
4516 #else
4517     dXSARGS;
4518 #endif
4519     if (items != 1)
4520        croak_xs_usage(cv,  "THIS");
4521     {
4522         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4523         wxHtmlCell *    RETVAL;
4524
4525         RETVAL = THIS->GetFirstTerminal();
4526         ST(0) = sv_newmortal();
4527     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4528
4529     }
4530     XSRETURN(1);
4531 }
4532
4533
4534 XS(XS_Wx__HtmlCell_GetLastTerminal); /* prototype to pass -Wmissing-prototypes */
4535 XS(XS_Wx__HtmlCell_GetLastTerminal)
4536 {
4537 #ifdef dVAR
4538     dVAR; dXSARGS;
4539 #else
4540     dXSARGS;
4541 #endif
4542     if (items != 1)
4543        croak_xs_usage(cv,  "THIS");
4544     {
4545         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4546         wxHtmlCell *    RETVAL;
4547
4548         RETVAL = THIS->GetLastTerminal();
4549         ST(0) = sv_newmortal();
4550     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4551
4552     }
4553     XSRETURN(1);
4554 }
4555
4556
4557 XS(XS_Wx__HtmlCell_GetDepth); /* prototype to pass -Wmissing-prototypes */
4558 XS(XS_Wx__HtmlCell_GetDepth)
4559 {
4560 #ifdef dVAR
4561     dVAR; dXSARGS;
4562 #else
4563     dXSARGS;
4564 #endif
4565     if (items != 1)
4566        croak_xs_usage(cv,  "THIS");
4567     {
4568         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4569         unsigned int    RETVAL;
4570         dXSTARG;
4571
4572         RETVAL = THIS->GetDepth();
4573         XSprePUSH; PUSHu((UV)RETVAL );
4574     }
4575     XSRETURN(1);
4576 }
4577
4578
4579 XS(XS_Wx__HtmlCell_IsBefore); /* prototype to pass -Wmissing-prototypes */
4580 XS(XS_Wx__HtmlCell_IsBefore)
4581 {
4582 #ifdef dVAR
4583     dVAR; dXSARGS;
4584 #else
4585     dXSARGS;
4586 #endif
4587     if (items != 2)
4588        croak_xs_usage(cv,  "THIS, cell");
4589     {
4590         wxHtmlCell*    cell = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlCell" );
4591         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4592         bool    RETVAL;
4593
4594         RETVAL = THIS->IsBefore(cell);
4595         ST(0) = boolSV(RETVAL);
4596         sv_2mortal(ST(0));
4597     }
4598     XSRETURN(1);
4599 }
4600
4601
4602 XS(XS_Wx__HtmlCell_ConvertToText); /* prototype to pass -Wmissing-prototypes */
4603 XS(XS_Wx__HtmlCell_ConvertToText)
4604 {
4605 #ifdef dVAR
4606     dVAR; dXSARGS;
4607 #else
4608     dXSARGS;
4609 #endif
4610     if (items != 2)
4611        croak_xs_usage(cv,  "THIS, sel");
4612     {
4613         wxHtmlSelection*    sel = (wxHtmlSelection *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlSelection" );
4614         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4615         wxString        RETVAL;
4616
4617         RETVAL = THIS->ConvertToText(sel);
4618         ST(0) = sv_newmortal();
4619     WXSTRING_OUTPUT( RETVAL, ST(0) );
4620
4621     }
4622     XSRETURN(1);
4623 }
4624
4625 #else
4626 #define XSubPPtmpAAAU 1
4627
4628
4629 XS(XS_Wx__HtmlCell_FindCellByPos); /* prototype to pass -Wmissing-prototypes */
4630 XS(XS_Wx__HtmlCell_FindCellByPos)
4631 {
4632 #ifdef dVAR
4633     dVAR; dXSARGS;
4634 #else
4635     dXSARGS;
4636 #endif
4637     if (items != 3)
4638        croak_xs_usage(cv,  "THIS, x, y");
4639     {
4640         wxCoord x = (wxCoord)SvIV(ST(1));
4641         wxCoord y = (wxCoord)SvIV(ST(2));
4642         wxHtmlCell *    THIS = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlCell" );
4643         wxHtmlCell *    RETVAL;
4644
4645         RETVAL = THIS->FindCellByPos(x, y);
4646         ST(0) = sv_newmortal();
4647     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4648
4649     }
4650     XSRETURN(1);
4651 }
4652
4653 #endif
4654 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4655 #define XSubPPtmpAAAV 1
4656
4657
4658 XS(XS_Wx__HtmlWordCell_SetPreviousWord); /* prototype to pass -Wmissing-prototypes */
4659 XS(XS_Wx__HtmlWordCell_SetPreviousWord)
4660 {
4661 #ifdef dVAR
4662     dVAR; dXSARGS;
4663 #else
4664     dXSARGS;
4665 #endif
4666     if (items != 2)
4667        croak_xs_usage(cv,  "THIS, cell");
4668     {
4669         wxHtmlWordCell*    cell = (wxHtmlWordCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlWordCell" );
4670         wxHtmlWordCell *    THIS = (wxHtmlWordCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlWordCell" );
4671
4672         THIS->SetPreviousWord(cell);
4673     }
4674     XSRETURN_EMPTY;
4675 }
4676
4677 #endif
4678
4679 XS(XS_Wx__HtmlContainerCell_new); /* prototype to pass -Wmissing-prototypes */
4680 XS(XS_Wx__HtmlContainerCell_new)
4681 {
4682 #ifdef dVAR
4683     dVAR; dXSARGS;
4684 #else
4685     dXSARGS;
4686 #endif
4687     if (items != 2)
4688        croak_xs_usage(cv,  "CLASS, parent");
4689     {
4690         wxHtmlContainerCell*    parent = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlContainerCell" );
4691         char *  CLASS = (char *)SvPV_nolen(ST(0));
4692         wxHtmlContainerCell *   RETVAL;
4693
4694         RETVAL = new wxHtmlContainerCell(parent);
4695         ST(0) = sv_newmortal();
4696     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4697
4698     }
4699     XSRETURN(1);
4700 }
4701
4702
4703 XS(XS_Wx__HtmlContainerCell_InsertCell); /* prototype to pass -Wmissing-prototypes */
4704 XS(XS_Wx__HtmlContainerCell_InsertCell)
4705 {
4706 #ifdef dVAR
4707     dVAR; dXSARGS;
4708 #else
4709     dXSARGS;
4710 #endif
4711     if (items != 2)
4712        croak_xs_usage(cv,  "THIS, cell");
4713     {
4714         wxHtmlCell*    cell = (wxHtmlCell *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlCell" );
4715         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4716
4717         THIS->InsertCell(cell);
4718     }
4719     XSRETURN_EMPTY;
4720 }
4721
4722
4723 XS(XS_Wx__HtmlContainerCell_SetAlignHor); /* prototype to pass -Wmissing-prototypes */
4724 XS(XS_Wx__HtmlContainerCell_SetAlignHor)
4725 {
4726 #ifdef dVAR
4727     dVAR; dXSARGS;
4728 #else
4729     dXSARGS;
4730 #endif
4731     if (items != 2)
4732        croak_xs_usage(cv,  "THIS, al");
4733     {
4734         int     al = (int)SvIV(ST(1));
4735         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4736
4737         THIS->SetAlignHor(al);
4738     }
4739     XSRETURN_EMPTY;
4740 }
4741
4742
4743 XS(XS_Wx__HtmlContainerCell_GetAlignHor); /* prototype to pass -Wmissing-prototypes */
4744 XS(XS_Wx__HtmlContainerCell_GetAlignHor)
4745 {
4746 #ifdef dVAR
4747     dVAR; dXSARGS;
4748 #else
4749     dXSARGS;
4750 #endif
4751     if (items != 1)
4752        croak_xs_usage(cv,  "THIS");
4753     {
4754         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4755         int     RETVAL;
4756         dXSTARG;
4757
4758         RETVAL = THIS->GetAlignHor();
4759         XSprePUSH; PUSHi((IV)RETVAL);
4760     }
4761     XSRETURN(1);
4762 }
4763
4764
4765 XS(XS_Wx__HtmlContainerCell_SetAlignVer); /* prototype to pass -Wmissing-prototypes */
4766 XS(XS_Wx__HtmlContainerCell_SetAlignVer)
4767 {
4768 #ifdef dVAR
4769     dVAR; dXSARGS;
4770 #else
4771     dXSARGS;
4772 #endif
4773     if (items != 2)
4774        croak_xs_usage(cv,  "THIS, al");
4775     {
4776         int     al = (int)SvIV(ST(1));
4777         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4778
4779         THIS->SetAlignVer(al);
4780     }
4781     XSRETURN_EMPTY;
4782 }
4783
4784
4785 XS(XS_Wx__HtmlContainerCell_GetAlignVer); /* prototype to pass -Wmissing-prototypes */
4786 XS(XS_Wx__HtmlContainerCell_GetAlignVer)
4787 {
4788 #ifdef dVAR
4789     dVAR; dXSARGS;
4790 #else
4791     dXSARGS;
4792 #endif
4793     if (items != 1)
4794        croak_xs_usage(cv,  "THIS");
4795     {
4796         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4797         int     RETVAL;
4798         dXSTARG;
4799
4800         RETVAL = THIS->GetAlignVer();
4801         XSprePUSH; PUSHi((IV)RETVAL);
4802     }
4803     XSRETURN(1);
4804 }
4805
4806
4807 XS(XS_Wx__HtmlContainerCell_SetIndent); /* prototype to pass -Wmissing-prototypes */
4808 XS(XS_Wx__HtmlContainerCell_SetIndent)
4809 {
4810 #ifdef dVAR
4811     dVAR; dXSARGS;
4812 #else
4813     dXSARGS;
4814 #endif
4815     if (items < 3 || items > 4)
4816        croak_xs_usage(cv,  "THIS, i, what, units = wxHTML_UNITS_PIXELS");
4817     {
4818         int     i = (int)SvIV(ST(1));
4819         int     what = (int)SvIV(ST(2));
4820         int     units;
4821         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4822
4823         if (items < 4)
4824             units = wxHTML_UNITS_PIXELS;
4825         else {
4826             units = (int)SvIV(ST(3));
4827         }
4828
4829         THIS->SetIndent(i, what, units);
4830     }
4831     XSRETURN_EMPTY;
4832 }
4833
4834
4835 XS(XS_Wx__HtmlContainerCell_GetIndent); /* prototype to pass -Wmissing-prototypes */
4836 XS(XS_Wx__HtmlContainerCell_GetIndent)
4837 {
4838 #ifdef dVAR
4839     dVAR; dXSARGS;
4840 #else
4841     dXSARGS;
4842 #endif
4843     if (items != 2)
4844        croak_xs_usage(cv,  "THIS, ind");
4845     {
4846         int     ind = (int)SvIV(ST(1));
4847         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4848         int     RETVAL;
4849         dXSTARG;
4850
4851         RETVAL = THIS->GetIndent(ind);
4852         XSprePUSH; PUSHi((IV)RETVAL);
4853     }
4854     XSRETURN(1);
4855 }
4856
4857
4858 XS(XS_Wx__HtmlContainerCell_GetIndentUnits); /* prototype to pass -Wmissing-prototypes */
4859 XS(XS_Wx__HtmlContainerCell_GetIndentUnits)
4860 {
4861 #ifdef dVAR
4862     dVAR; dXSARGS;
4863 #else
4864     dXSARGS;
4865 #endif
4866     if (items != 2)
4867        croak_xs_usage(cv,  "THIS, ind");
4868     {
4869         int     ind = (int)SvIV(ST(1));
4870         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4871         int     RETVAL;
4872         dXSTARG;
4873
4874         RETVAL = THIS->GetIndentUnits(ind);
4875         XSprePUSH; PUSHi((IV)RETVAL);
4876     }
4877     XSRETURN(1);
4878 }
4879
4880
4881 XS(XS_Wx__HtmlContainerCell_SetAlign); /* prototype to pass -Wmissing-prototypes */
4882 XS(XS_Wx__HtmlContainerCell_SetAlign)
4883 {
4884 #ifdef dVAR
4885     dVAR; dXSARGS;
4886 #else
4887     dXSARGS;
4888 #endif
4889     if (items != 2)
4890        croak_xs_usage(cv,  "THIS, tag");
4891     {
4892         wxHtmlTag*    tag = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlTag" );
4893         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4894     THIS->SetAlign( *( tag ) );
4895     }
4896     XSRETURN_EMPTY;
4897 }
4898
4899
4900 XS(XS_Wx__HtmlContainerCell_SetWidthFloat); /* prototype to pass -Wmissing-prototypes */
4901 XS(XS_Wx__HtmlContainerCell_SetWidthFloat)
4902 {
4903 #ifdef dVAR
4904     dVAR; dXSARGS;
4905 #else
4906     dXSARGS;
4907 #endif
4908     if (items != 3)
4909        croak_xs_usage(cv,  "THIS, w, units");
4910     {
4911         int     w = (int)SvIV(ST(1));
4912         int     units = (int)SvIV(ST(2));
4913         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4914
4915         THIS->SetWidthFloat(w, units);
4916     }
4917     XSRETURN_EMPTY;
4918 }
4919
4920
4921 XS(XS_Wx__HtmlContainerCell_SetWidthFloatTag); /* prototype to pass -Wmissing-prototypes */
4922 XS(XS_Wx__HtmlContainerCell_SetWidthFloatTag)
4923 {
4924 #ifdef dVAR
4925     dVAR; dXSARGS;
4926 #else
4927     dXSARGS;
4928 #endif
4929     if (items < 2 || items > 3)
4930        croak_xs_usage(cv,  "THIS, tag, pixel_scale = 1.0");
4931     {
4932         wxHtmlTag*    tag = (wxHtmlTag *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::HtmlTag" );
4933         double  pixel_scale;
4934         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4935
4936         if (items < 3)
4937             pixel_scale = 1.0;
4938         else {
4939             pixel_scale = (double)SvNV(ST(2));
4940         }
4941     THIS->SetWidthFloat( *( tag ), pixel_scale );
4942     }
4943     XSRETURN_EMPTY;
4944 }
4945
4946
4947 XS(XS_Wx__HtmlContainerCell_SetMinHeight); /* prototype to pass -Wmissing-prototypes */
4948 XS(XS_Wx__HtmlContainerCell_SetMinHeight)
4949 {
4950 #ifdef dVAR
4951     dVAR; dXSARGS;
4952 #else
4953     dXSARGS;
4954 #endif
4955     if (items < 2 || items > 3)
4956        croak_xs_usage(cv,  "THIS, h, align = wxHTML_ALIGN_TOP");
4957     {
4958         int     h = (int)SvIV(ST(1));
4959         int     align;
4960         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4961
4962         if (items < 3)
4963             align = wxHTML_ALIGN_TOP;
4964         else {
4965             align = (int)SvIV(ST(2));
4966         }
4967
4968         THIS->SetMinHeight(h, align);
4969     }
4970     XSRETURN_EMPTY;
4971 }
4972
4973
4974 XS(XS_Wx__HtmlContainerCell_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
4975 XS(XS_Wx__HtmlContainerCell_SetBackgroundColour)
4976 {
4977 #ifdef dVAR
4978     dVAR; dXSARGS;
4979 #else
4980     dXSARGS;
4981 #endif
4982     if (items != 2)
4983        croak_xs_usage(cv,  "THIS, clr");
4984     {
4985         wxColour*    clr = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
4986         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
4987     THIS->SetBackgroundColour( *( clr ) );
4988     }
4989     XSRETURN_EMPTY;
4990 }
4991
4992
4993 XS(XS_Wx__HtmlContainerCell_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
4994 XS(XS_Wx__HtmlContainerCell_GetBackgroundColour)
4995 {
4996 #ifdef dVAR
4997     dVAR; dXSARGS;
4998 #else
4999     dXSARGS;
5000 #endif
5001     if (items != 1)
5002        croak_xs_usage(cv,  "THIS");
5003     {
5004         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
5005         wxColour *      RETVAL;
5006     RETVAL = new wxColour( THIS->GetBackgroundColour() );
5007         ST(0) = sv_newmortal();
5008     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
5009     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
5010
5011     }
5012     XSRETURN(1);
5013 }
5014
5015
5016 XS(XS_Wx__HtmlContainerCell_SetBorder); /* prototype to pass -Wmissing-prototypes */
5017 XS(XS_Wx__HtmlContainerCell_SetBorder)
5018 {
5019 #ifdef dVAR
5020     dVAR; dXSARGS;
5021 #else
5022     dXSARGS;
5023 #endif
5024     if (items != 3)
5025        croak_xs_usage(cv,  "THIS, clr1, clr2");
5026     {
5027         wxColour*    clr1 = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5028         wxColour*    clr2 = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
5029         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
5030     THIS->SetBorder( *( clr1 ), *( clr2 ) );
5031     }
5032     XSRETURN_EMPTY;
5033 }
5034
5035 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
5036 #define XSubPPtmpAAAW 1
5037
5038
5039 XS(XS_Wx__HtmlContainerCell_RemoveExtraSpacing); /* prototype to pass -Wmissing-prototypes */
5040 XS(XS_Wx__HtmlContainerCell_RemoveExtraSpacing)
5041 {
5042 #ifdef dVAR
5043     dVAR; dXSARGS;
5044 #else
5045     dXSARGS;
5046 #endif
5047     if (items != 3)
5048        croak_xs_usage(cv,  "THIS, top, bottom");
5049     {
5050         bool    top = (bool)SvTRUE(ST(1));
5051         bool    bottom = (bool)SvTRUE(ST(2));
5052         wxHtmlContainerCell *    THIS = (wxHtmlContainerCell *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlContainerCell" );
5053
5054         THIS->RemoveExtraSpacing(top, bottom);
5055     }
5056     XSRETURN_EMPTY;
5057 }
5058
5059 #endif
5060
5061 XS(XS_Wx__HtmlColourCell_new); /* prototype to pass -Wmissing-prototypes */
5062 XS(XS_Wx__HtmlColourCell_new)
5063 {
5064 #ifdef dVAR
5065     dVAR; dXSARGS;
5066 #else
5067     dXSARGS;
5068 #endif
5069     if (items < 2 || items > 3)
5070        croak_xs_usage(cv,  "CLASS, clr, flags = wxHTML_CLR_FOREGROUND");
5071     {
5072         wxColour*    clr = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
5073         int     flags;
5074         char *  CLASS = (char *)SvPV_nolen(ST(0));
5075         wxHtmlColourCell *      RETVAL;
5076
5077         if (items < 3)
5078             flags = wxHTML_CLR_FOREGROUND;
5079         else {
5080             flags = (int)SvIV(ST(2));
5081         }
5082     RETVAL = new wxHtmlColourCell( *( clr ), flags );
5083         ST(0) = sv_newmortal();
5084     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5085
5086     }
5087     XSRETURN(1);
5088 }
5089
5090
5091 XS(XS_Wx__HtmlFontCell_new); /* prototype to pass -Wmissing-prototypes */
5092 XS(XS_Wx__HtmlFontCell_new)
5093 {
5094 #ifdef dVAR
5095     dVAR; dXSARGS;
5096 #else
5097     dXSARGS;
5098 #endif
5099     if (items != 2)
5100        croak_xs_usage(cv,  "CLASS, font");
5101     {
5102         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
5103         char *  CLASS = (char *)SvPV_nolen(ST(0));
5104         wxHtmlFontCell *        RETVAL;
5105
5106         RETVAL = new wxHtmlFontCell(font);
5107         ST(0) = sv_newmortal();
5108     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5109
5110     }
5111     XSRETURN(1);
5112 }
5113
5114
5115 XS(XS_Wx__HtmlWidgetCell_new); /* prototype to pass -Wmissing-prototypes */
5116 XS(XS_Wx__HtmlWidgetCell_new)
5117 {
5118 #ifdef dVAR
5119     dVAR; dXSARGS;
5120 #else
5121     dXSARGS;
5122 #endif
5123     if (items < 2 || items > 3)
5124        croak_xs_usage(cv,  "CLASS, window, w = 0");
5125     {
5126         wxWindow*    window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5127         int     w;
5128         char *  CLASS = (char *)SvPV_nolen(ST(0));
5129         wxHtmlWidgetCell *      RETVAL;
5130
5131         if (items < 3)
5132             w = 0;
5133         else {
5134             w = (int)SvIV(ST(2));
5135         }
5136
5137         RETVAL = new wxHtmlWidgetCell(window, w);
5138         ST(0) = sv_newmortal();
5139     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5140
5141     }
5142     XSRETURN(1);
5143 }
5144
5145
5146 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlCell.xsp |' */
5147
5148
5149 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlListBox.xsp |' from 'Html.xs' */
5150
5151 #if WXPERL_W_VERSION_GE( 2, 5, 0 )
5152 #include <wx/clntdata.h>
5153 #include "cpp/helpers.h"
5154 #include <wx/htmllbox.h>
5155 #include "cpp/overload.h"
5156 #include "cpp/htmllbox.h"
5157 #define XSubPPtmpAAAX 1
5158
5159
5160 XS(XS_Wx__HtmlListBox_Create); /* prototype to pass -Wmissing-prototypes */
5161 XS(XS_Wx__HtmlListBox_Create)
5162 {
5163 #ifdef dVAR
5164     dVAR; dXSARGS;
5165 #else
5166     dXSARGS;
5167 #endif
5168     if (items < 2 || items > 7)
5169        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxVListBoxNameStr");
5170     {
5171         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5172         wxWindowID      id;
5173         wxPoint pos;
5174         wxSize  size;
5175         long    style;
5176         wxString        name;
5177         wxHtmlListBox *    THIS = (wxHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlListBox" );
5178         bool    RETVAL;
5179
5180         if (items < 3)
5181             id = wxID_ANY;
5182         else {
5183     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5184         }
5185
5186         if (items < 4)
5187             pos = wxDefaultPosition;
5188         else {
5189     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
5190         }
5191
5192         if (items < 5)
5193             size = wxDefaultSize;
5194         else {
5195     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
5196         }
5197
5198         if (items < 6)
5199             style = 0;
5200         else {
5201             style = (long)SvIV(ST(5));
5202         }
5203
5204         if (items < 7)
5205             name = wxVListBoxNameStr;
5206         else {
5207     WXSTRING_INPUT( name, wxString, ST(6) );
5208         }
5209
5210         RETVAL = THIS->Create(parent, id, pos, size, style, name);
5211         ST(0) = boolSV(RETVAL);
5212         sv_2mortal(ST(0));
5213     }
5214     XSRETURN(1);
5215 }
5216
5217
5218 XS(XS_Wx__HtmlListBox_GetFileSystem); /* prototype to pass -Wmissing-prototypes */
5219 XS(XS_Wx__HtmlListBox_GetFileSystem)
5220 {
5221 #ifdef dVAR
5222     dVAR; dXSARGS;
5223 #else
5224     dXSARGS;
5225 #endif
5226     if (items != 1)
5227        croak_xs_usage(cv,  "THIS");
5228     {
5229         wxHtmlListBox *    THIS = (wxHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::HtmlListBox" );
5230         wxFileSystem *  RETVAL;
5231     RETVAL = &THIS->GetFileSystem();
5232         ST(0) = sv_newmortal();
5233     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5234     wxPli_thread_sv_register( aTHX_ "Wx::FileSystem", RETVAL, ST(0) );
5235
5236     wxPli_object_set_deleteable( aTHX_ ST(0), false );
5237     }
5238     XSRETURN(1);
5239 }
5240
5241
5242 XS(XS_Wx__PlHtmlListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
5243 XS(XS_Wx__PlHtmlListBox_newDefault)
5244 {
5245 #ifdef dVAR
5246     dVAR; dXSARGS;
5247 #else
5248     dXSARGS;
5249 #endif
5250     if (items != 1)
5251        croak_xs_usage(cv,  "CLASS");
5252     {
5253         char *  CLASS = (char *)SvPV_nolen(ST(0));
5254         wxPlHtmlListBox *       RETVAL;
5255      RETVAL = new wxPlHtmlListBox( CLASS ); 
5256         ST(0) = sv_newmortal();
5257     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5258
5259     }
5260     XSRETURN(1);
5261 }
5262
5263
5264 XS(XS_Wx__PlHtmlListBox_newFull); /* prototype to pass -Wmissing-prototypes */
5265 XS(XS_Wx__PlHtmlListBox_newFull)
5266 {
5267 #ifdef dVAR
5268     dVAR; dXSARGS;
5269 #else
5270     dXSARGS;
5271 #endif
5272     if (items < 2 || items > 7)
5273        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxEmptyString");
5274     {
5275         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5276         wxWindowID      id;
5277         wxPoint pos;
5278         wxSize  size;
5279         long    style;
5280         wxString        name;
5281         char *  CLASS = (char *)SvPV_nolen(ST(0));
5282         wxPlHtmlListBox *       RETVAL;
5283
5284         if (items < 3)
5285             id = wxID_ANY;
5286         else {
5287     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5288         }
5289
5290         if (items < 4)
5291             pos = wxDefaultPosition;
5292         else {
5293     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
5294         }
5295
5296         if (items < 5)
5297             size = wxDefaultSize;
5298         else {
5299     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
5300         }
5301
5302         if (items < 6)
5303             style = 0;
5304         else {
5305             style = (long)SvIV(ST(5));
5306         }
5307
5308         if (items < 7)
5309             name = wxEmptyString;
5310         else {
5311     WXSTRING_INPUT( name, wxString, ST(6) );
5312         }
5313      RETVAL = new wxPlHtmlListBox( CLASS, parent, id, pos, size,
5314                                               style, name );
5315
5316         ST(0) = sv_newmortal();
5317     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5318
5319     }
5320     XSRETURN(1);
5321 }
5322
5323
5324 XS(XS_Wx__PlHtmlListBox_new); /* prototype to pass -Wmissing-prototypes */
5325 XS(XS_Wx__PlHtmlListBox_new)
5326 {
5327 #ifdef dVAR
5328     dVAR; dXSARGS;
5329 #else
5330     dXSARGS;
5331 #endif
5332     PERL_UNUSED_VAR(cv); /* -W */
5333     PERL_UNUSED_VAR(ax); /* -Wall */
5334     SP -= items;
5335     {
5336     BEGIN_OVERLOAD()
5337         MATCH_VOIDM_REDISP( newDefault )
5338         MATCH_ANY_REDISP( newFull )
5339     END_OVERLOAD( "Wx::PlHtmlListBox::new" )
5340         PUTBACK;
5341         return;
5342     }
5343 }
5344
5345 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5346 #define XSubPPtmpAAAY 1
5347
5348
5349 XS(XS_Wx__SimpleHtmlListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
5350 XS(XS_Wx__SimpleHtmlListBox_newDefault)
5351 {
5352 #ifdef dVAR
5353     dVAR; dXSARGS;
5354 #else
5355     dXSARGS;
5356 #endif
5357     if (items != 1)
5358        croak_xs_usage(cv,  "CLASS");
5359     {
5360         char *  CLASS = (char *)SvPV_nolen(ST(0));
5361         wxSimpleHtmlListBox *   RETVAL;
5362      RETVAL = new wxSimpleHtmlListBox;
5363                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
5364
5365         ST(0) = sv_newmortal();
5366     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5367
5368     }
5369     XSRETURN(1);
5370 }
5371
5372
5373 XS(XS_Wx__SimpleHtmlListBox_newFull); /* prototype to pass -Wmissing-prototypes */
5374 XS(XS_Wx__SimpleHtmlListBox_newFull)
5375 {
5376 #ifdef dVAR
5377     dVAR; dXSARGS;
5378 #else
5379     dXSARGS;
5380 #endif
5381     if (items < 3 || items > 9)
5382        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices, style = 0, validator = wxDefaultValidatorPtr, name = wxSimpleHtmlListBoxNameStr");
5383     {
5384         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5385         wxWindowID      id;
5386         wxPoint pos;
5387         wxSize  size;
5388         wxArrayString   choices;
5389         long    style;
5390         wxValidator*    validator;
5391         wxString        name;
5392         char *  CLASS = (char *)SvPV_nolen(ST(0));
5393         wxSimpleHtmlListBox *   RETVAL;
5394
5395         if (items < 3)
5396             id = wxID_ANY;
5397         else {
5398     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5399         }
5400
5401         if (items < 4)
5402             pos = wxDefaultPosition;
5403         else {
5404     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
5405         }
5406
5407         if (items < 5)
5408             size = wxDefaultSize;
5409         else {
5410     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
5411         }
5412
5413     wxPli_av_2_arraystring( aTHX_ ST(5), & choices );
5414
5415         if (items < 7)
5416             style = 0;
5417         else {
5418             style = (long)SvIV(ST(6));
5419         }
5420
5421         if (items < 8)
5422             validator = wxDefaultValidatorPtr;
5423         else {
5424     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
5425         }
5426
5427         if (items < 9)
5428             name = wxSimpleHtmlListBoxNameStr;
5429         else {
5430     WXSTRING_INPUT( name, wxString, ST(8) );
5431         }
5432      RETVAL = new wxSimpleHtmlListBox( parent, id, pos, size,
5433                                                   choices, style, *validator,
5434                                                   name );
5435                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
5436
5437         ST(0) = sv_newmortal();
5438     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
5439
5440     }
5441     XSRETURN(1);
5442 }
5443
5444
5445 XS(XS_Wx__SimpleHtmlListBox_Create); /* prototype to pass -Wmissing-prototypes */
5446 XS(XS_Wx__SimpleHtmlListBox_Create)
5447 {
5448 #ifdef dVAR
5449     dVAR; dXSARGS;
5450 #else
5451     dXSARGS;
5452 #endif
5453     if (items < 3 || items > 9)
5454        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, choices, style = 0, validator = wxDefaultValidatorPtr, name = wxSimpleHtmlListBoxNameStr");
5455     {
5456         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
5457         wxWindowID      id;
5458         wxPoint pos;
5459         wxSize  size;
5460         wxArrayString   choices;
5461         long    style;
5462         wxValidator*    validator;
5463         wxString        name;
5464         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5465         bool    RETVAL;
5466
5467         if (items < 3)
5468             id = wxID_ANY;
5469         else {
5470     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
5471         }
5472
5473         if (items < 4)
5474             pos = wxDefaultPosition;
5475         else {
5476     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
5477         }
5478
5479         if (items < 5)
5480             size = wxDefaultSize;
5481         else {
5482     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
5483         }
5484
5485     wxPli_av_2_arraystring( aTHX_ ST(5), & choices );
5486
5487         if (items < 7)
5488             style = 0;
5489         else {
5490             style = (long)SvIV(ST(6));
5491         }
5492
5493         if (items < 8)
5494             validator = wxDefaultValidatorPtr;
5495         else {
5496     validator = (wxValidator *) wxPli_sv_2_object( aTHX_ ST(7), "Wx::Validator" );
5497         }
5498
5499         if (items < 9)
5500             name = wxSimpleHtmlListBoxNameStr;
5501         else {
5502     WXSTRING_INPUT( name, wxString, ST(8) );
5503         }
5504     RETVAL = THIS->Create( parent, id, pos, size, choices, style, *( validator ), name );
5505         ST(0) = boolSV(RETVAL);
5506         sv_2mortal(ST(0));
5507     }
5508     XSRETURN(1);
5509 }
5510
5511
5512 XS(XS_Wx__SimpleHtmlListBox_SetSelection); /* prototype to pass -Wmissing-prototypes */
5513 XS(XS_Wx__SimpleHtmlListBox_SetSelection)
5514 {
5515 #ifdef dVAR
5516     dVAR; dXSARGS;
5517 #else
5518     dXSARGS;
5519 #endif
5520     if (items != 2)
5521        croak_xs_usage(cv,  "THIS, n");
5522     {
5523         int     n = (int)SvIV(ST(1));
5524         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5525
5526         THIS->SetSelection(n);
5527     }
5528     XSRETURN_EMPTY;
5529 }
5530
5531
5532 XS(XS_Wx__SimpleHtmlListBox_GetSelection); /* prototype to pass -Wmissing-prototypes */
5533 XS(XS_Wx__SimpleHtmlListBox_GetSelection)
5534 {
5535 #ifdef dVAR
5536     dVAR; dXSARGS;
5537 #else
5538     dXSARGS;
5539 #endif
5540     if (items != 1)
5541        croak_xs_usage(cv,  "THIS");
5542     {
5543         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5544         int     RETVAL;
5545         dXSTARG;
5546
5547         RETVAL = THIS->GetSelection();
5548         XSprePUSH; PUSHi((IV)RETVAL);
5549     }
5550     XSRETURN(1);
5551 }
5552
5553
5554 XS(XS_Wx__SimpleHtmlListBox_GetCount); /* prototype to pass -Wmissing-prototypes */
5555 XS(XS_Wx__SimpleHtmlListBox_GetCount)
5556 {
5557 #ifdef dVAR
5558     dVAR; dXSARGS;
5559 #else
5560     dXSARGS;
5561 #endif
5562     if (items != 1)
5563        croak_xs_usage(cv,  "THIS");
5564     {
5565         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5566         unsigned int    RETVAL;
5567         dXSTARG;
5568
5569         RETVAL = THIS->GetCount();
5570         XSprePUSH; PUSHu((UV)RETVAL );
5571     }
5572     XSRETURN(1);
5573 }
5574
5575
5576 XS(XS_Wx__SimpleHtmlListBox_GetString); /* prototype to pass -Wmissing-prototypes */
5577 XS(XS_Wx__SimpleHtmlListBox_GetString)
5578 {
5579 #ifdef dVAR
5580     dVAR; dXSARGS;
5581 #else
5582     dXSARGS;
5583 #endif
5584     if (items != 2)
5585        croak_xs_usage(cv,  "THIS, n");
5586     {
5587         unsigned int    n = (unsigned int)SvUV( ST(1) );
5588         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5589         wxString        RETVAL;
5590
5591         RETVAL = THIS->GetString(n);
5592         ST(0) = sv_newmortal();
5593     WXSTRING_OUTPUT( RETVAL, ST(0) );
5594
5595     }
5596     XSRETURN(1);
5597 }
5598
5599
5600 XS(XS_Wx__SimpleHtmlListBox_SetString); /* prototype to pass -Wmissing-prototypes */
5601 XS(XS_Wx__SimpleHtmlListBox_SetString)
5602 {
5603 #ifdef dVAR
5604     dVAR; dXSARGS;
5605 #else
5606     dXSARGS;
5607 #endif
5608     if (items != 3)
5609        croak_xs_usage(cv,  "THIS, n, s");
5610     {
5611         unsigned int    n = (unsigned int)SvUV( ST(1) );
5612         wxString        s;
5613         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5614
5615     WXSTRING_INPUT( s, wxString, ST(2) );
5616
5617         THIS->SetString(n, s);
5618     }
5619     XSRETURN_EMPTY;
5620 }
5621
5622
5623 XS(XS_Wx__SimpleHtmlListBox_Clear); /* prototype to pass -Wmissing-prototypes */
5624 XS(XS_Wx__SimpleHtmlListBox_Clear)
5625 {
5626 #ifdef dVAR
5627     dVAR; dXSARGS;
5628 #else
5629     dXSARGS;
5630 #endif
5631     if (items != 1)
5632        croak_xs_usage(cv,  "THIS");
5633     {
5634         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5635     THIS->wxVListBox::Clear();
5636     }
5637     XSRETURN_EMPTY;
5638 }
5639
5640
5641 XS(XS_Wx__SimpleHtmlListBox_Delete); /* prototype to pass -Wmissing-prototypes */
5642 XS(XS_Wx__SimpleHtmlListBox_Delete)
5643 {
5644 #ifdef dVAR
5645     dVAR; dXSARGS;
5646 #else
5647     dXSARGS;
5648 #endif
5649     if (items != 2)
5650        croak_xs_usage(cv,  "THIS, n");
5651     {
5652         unsigned int    n = (unsigned int)SvUV( ST(1) );
5653         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5654
5655         THIS->Delete(n);
5656     }
5657     XSRETURN_EMPTY;
5658 }
5659
5660
5661 XS(XS_Wx__SimpleHtmlListBox_AppendStrings); /* prototype to pass -Wmissing-prototypes */
5662 XS(XS_Wx__SimpleHtmlListBox_AppendStrings)
5663 {
5664 #ifdef dVAR
5665     dVAR; dXSARGS;
5666 #else
5667     dXSARGS;
5668 #endif
5669     if (items != 2)
5670        croak_xs_usage(cv,  "THIS, strings");
5671     {
5672         wxArrayString   strings;
5673         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5674
5675     wxPli_av_2_arraystring( aTHX_ ST(1), & strings );
5676     THIS->Append( strings );
5677     }
5678     XSRETURN_EMPTY;
5679 }
5680
5681
5682 XS(XS_Wx__SimpleHtmlListBox_AppendString); /* prototype to pass -Wmissing-prototypes */
5683 XS(XS_Wx__SimpleHtmlListBox_AppendString)
5684 {
5685 #ifdef dVAR
5686     dVAR; dXSARGS;
5687 #else
5688     dXSARGS;
5689 #endif
5690     if (items != 2)
5691        croak_xs_usage(cv,  "THIS, item");
5692     {
5693         wxString        item;
5694         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5695
5696     WXSTRING_INPUT( item, wxString, ST(1) );
5697     THIS->Append( item );
5698     }
5699     XSRETURN_EMPTY;
5700 }
5701
5702
5703 XS(XS_Wx__SimpleHtmlListBox_AppendData); /* prototype to pass -Wmissing-prototypes */
5704 XS(XS_Wx__SimpleHtmlListBox_AppendData)
5705 {
5706 #ifdef dVAR
5707     dVAR; dXSARGS;
5708 #else
5709     dXSARGS;
5710 #endif
5711     if (items != 3)
5712        croak_xs_usage(cv,  "THIS, item, data");
5713     {
5714         wxString        item;
5715         wxPliUserDataCD*        data;
5716         wxSimpleHtmlListBox *    THIS = (wxSimpleHtmlListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SimpleHtmlListBox" );
5717
5718     WXSTRING_INPUT( item, wxString, ST(1) );
5719
5720     if( SvOK( ST(2) ) )
5721     {
5722         data = new wxPliUserDataCD( ST(2) );
5723     }
5724     else
5725         data = 0;
5726     THIS->Append( item, data );
5727     }
5728     XSRETURN_EMPTY;
5729 }
5730
5731
5732 XS(XS_Wx__SimpleHtmlListBox_new); /* prototype to pass -Wmissing-prototypes */
5733 XS(XS_Wx__SimpleHtmlListBox_new)
5734 {
5735 #ifdef dVAR
5736     dVAR; dXSARGS;
5737 #else
5738     dXSARGS;
5739 #endif
5740     PERL_UNUSED_VAR(cv); /* -W */
5741     PERL_UNUSED_VAR(ax); /* -Wall */
5742     SP -= items;
5743     {
5744     BEGIN_OVERLOAD()
5745         MATCH_VOIDM_REDISP( newDefault )
5746         MATCH_ANY_REDISP( newFull )
5747     END_OVERLOAD( "Wx::SimpleHtmlListBox::new" )
5748         PUTBACK;
5749         return;
5750     }
5751 }
5752
5753
5754 XS(XS_Wx__SimpleHtmlListBox_Append); /* prototype to pass -Wmissing-prototypes */
5755 XS(XS_Wx__SimpleHtmlListBox_Append)
5756 {
5757 #ifdef dVAR
5758     dVAR; dXSARGS;
5759 #else
5760     dXSARGS;
5761 #endif
5762     PERL_UNUSED_VAR(cv); /* -W */
5763     PERL_UNUSED_VAR(ax); /* -Wall */
5764     SP -= items;
5765     {
5766     BEGIN_OVERLOAD()
5767         MATCH_REDISP( wxPliOvl_arr, AppendStrings )
5768         MATCH_REDISP( wxPliOvl_s_s, AppendData )
5769         MATCH_REDISP( wxPliOvl_s, AppendString )
5770     END_OVERLOAD( Wx::SimpleHtmlListBox::Append )
5771         PUTBACK;
5772         return;
5773     }
5774 }
5775
5776 #endif
5777 #endif
5778
5779 /* INCLUDE: Returning to 'Html.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/HtmlListBox.xsp |' */
5780
5781 #include "cpp/ht_constants.cpp"
5782 #include "cpp/ovl_const.cpp"
5783 #if defined(__WXMSW__)
5784 #undef XS
5785 #define XS( name ) WXXS( name )
5786 #endif
5787 #ifdef __cplusplus
5788 extern "C"
5789 #endif
5790 XS(boot_Wx__Html); /* prototype to pass -Wmissing-prototypes */
5791 XS(boot_Wx__Html)
5792 {
5793 #ifdef dVAR
5794     dVAR; dXSARGS;
5795 #else
5796     dXSARGS;
5797 #endif
5798 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
5799     char* file = __FILE__;
5800 #else
5801     const char* file = __FILE__;
5802 #endif
5803
5804     PERL_UNUSED_VAR(cv); /* -W */
5805     PERL_UNUSED_VAR(items); /* -W */
5806     XS_VERSION_BOOTCHECK ;
5807
5808 #if XSubPPtmpAAAA
5809         newXS("Wx::HtmlCellEvent::GetCell", XS_Wx__HtmlCellEvent_GetCell, file);
5810         newXS("Wx::HtmlCellEvent::GetPoint", XS_Wx__HtmlCellEvent_GetPoint, file);
5811         newXS("Wx::HtmlCellEvent::GetMouseEvent", XS_Wx__HtmlCellEvent_GetMouseEvent, file);
5812         newXS("Wx::HtmlCellEvent::SetLinkClicked", XS_Wx__HtmlCellEvent_SetLinkClicked, file);
5813         newXS("Wx::HtmlCellEvent::GetLinkClicked", XS_Wx__HtmlCellEvent_GetLinkClicked, file);
5814         newXS("Wx::HtmlLinkEvent::GetLinkInfo", XS_Wx__HtmlLinkEvent_GetLinkInfo, file);
5815 #endif
5816         newXS("Wx::HtmlLinkInfo::GetEvent", XS_Wx__HtmlLinkInfo_GetEvent, file);
5817         newXS("Wx::HtmlLinkInfo::GetHtmlCell", XS_Wx__HtmlLinkInfo_GetHtmlCell, file);
5818         newXS("Wx::HtmlLinkInfo::GetHref", XS_Wx__HtmlLinkInfo_GetHref, file);
5819         newXS("Wx::HtmlLinkInfo::GetTarget", XS_Wx__HtmlLinkInfo_GetTarget, file);
5820         newXS("Wx::HtmlWindow::new", XS_Wx__HtmlWindow_new, file);
5821         newXS("Wx::HtmlWindow::AppendToPage", XS_Wx__HtmlWindow_AppendToPage, file);
5822         newXS("Wx::HtmlWindow::GetOpenedAnchor", XS_Wx__HtmlWindow_GetOpenedAnchor, file);
5823         newXS("Wx::HtmlWindow::GetOpenedPage", XS_Wx__HtmlWindow_GetOpenedPage, file);
5824         newXS("Wx::HtmlWindow::GetOpenedPageTitle", XS_Wx__HtmlWindow_GetOpenedPageTitle, file);
5825         newXS("Wx::HtmlWindow::GetParser", XS_Wx__HtmlWindow_GetParser, file);
5826         newXS("Wx::HtmlWindow::GetRelatedFrame", XS_Wx__HtmlWindow_GetRelatedFrame, file);
5827         newXS("Wx::HtmlWindow::HistoryBack", XS_Wx__HtmlWindow_HistoryBack, file);
5828         newXS("Wx::HtmlWindow::HistoryCanForward", XS_Wx__HtmlWindow_HistoryCanForward, file);
5829         newXS("Wx::HtmlWindow::HistoryCanBack", XS_Wx__HtmlWindow_HistoryCanBack, file);
5830         newXS("Wx::HtmlWindow::HistoryClear", XS_Wx__HtmlWindow_HistoryClear, file);
5831         newXS("Wx::HtmlWindow::HistoryForward", XS_Wx__HtmlWindow_HistoryForward, file);
5832         newXS("Wx::HtmlWindow::LoadFile", XS_Wx__HtmlWindow_LoadFile, file);
5833         newXS("Wx::HtmlWindow::LoadPage", XS_Wx__HtmlWindow_LoadPage, file);
5834         newXS("Wx::HtmlWindow::OnLinkClicked", XS_Wx__HtmlWindow_OnLinkClicked, file);
5835         newXS("Wx::HtmlWindow::OnSetTitle", XS_Wx__HtmlWindow_OnSetTitle, file);
5836         newXS("Wx::HtmlWindow::ReadCustomization", XS_Wx__HtmlWindow_ReadCustomization, file);
5837         newXS("Wx::HtmlWindow::SetBorders", XS_Wx__HtmlWindow_SetBorders, file);
5838         newXS("Wx::HtmlWindow::SetFonts", XS_Wx__HtmlWindow_SetFonts, file);
5839         newXS("Wx::HtmlWindow::SetPage", XS_Wx__HtmlWindow_SetPage, file);
5840         newXS("Wx::HtmlWindow::SetRelatedFrame", XS_Wx__HtmlWindow_SetRelatedFrame, file);
5841         newXS("Wx::HtmlWindow::SetRelatedStatusBar", XS_Wx__HtmlWindow_SetRelatedStatusBar, file);
5842 #if XSubPPtmpAAAB
5843         newXS("Wx::HtmlWindow::SelectWord", XS_Wx__HtmlWindow_SelectWord, file);
5844         newXS("Wx::HtmlWindow::SelectLine", XS_Wx__HtmlWindow_SelectLine, file);
5845         newXS("Wx::HtmlWindow::SelectAll", XS_Wx__HtmlWindow_SelectAll, file);
5846         newXS("Wx::HtmlWindow::SelectionToText", XS_Wx__HtmlWindow_SelectionToText, file);
5847         newXS("Wx::HtmlWindow::ToText", XS_Wx__HtmlWindow_ToText, file);
5848 #endif
5849         newXS("Wx::HtmlWindow::WriteCustomization", XS_Wx__HtmlWindow_WriteCustomization, file);
5850 #if XSubPPtmpAAAC
5851         newXS("Wx::BestHelpController::new", XS_Wx__BestHelpController_new, file);
5852 #endif
5853 #if XSubPPtmpAAAD
5854         newXS("Wx::BestHelpController::new", XS_Wx__BestHelpController_new, file);
5855 #endif
5856         newXS("Wx::HtmlHelpController::new", XS_Wx__HtmlHelpController_new, file);
5857         newXS("Wx::HtmlHelpController::AddBook", XS_Wx__HtmlHelpController_AddBook, file);
5858         newXS("Wx::HtmlHelpController::Display", XS_Wx__HtmlHelpController_Display, file);
5859         newXS("Wx::HtmlHelpController::DisplayId", XS_Wx__HtmlHelpController_DisplayId, file);
5860         newXS("Wx::HtmlHelpController::DisplayContents", XS_Wx__HtmlHelpController_DisplayContents, file);
5861         newXS("Wx::HtmlHelpController::DisplayIndex", XS_Wx__HtmlHelpController_DisplayIndex, file);
5862         newXS("Wx::HtmlHelpController::KeywordSearch", XS_Wx__HtmlHelpController_KeywordSearch, file);
5863         newXS("Wx::HtmlHelpController::ReadCustomization", XS_Wx__HtmlHelpController_ReadCustomization, file);
5864         newXS("Wx::HtmlHelpController::SetTempDir", XS_Wx__HtmlHelpController_SetTempDir, file);
5865         newXS("Wx::HtmlHelpController::SetTitleFormat", XS_Wx__HtmlHelpController_SetTitleFormat, file);
5866         newXS("Wx::HtmlHelpController::UseConfig", XS_Wx__HtmlHelpController_UseConfig, file);
5867         newXS("Wx::HtmlHelpController::WriteCustomization", XS_Wx__HtmlHelpController_WriteCustomization, file);
5868 #if XSubPPtmpAAAE
5869         newXS("Wx::HtmlDCRenderer::new", XS_Wx__HtmlDCRenderer_new, file);
5870         newXS("Wx::HtmlDCRenderer::CLONE", XS_Wx__HtmlDCRenderer_CLONE, file);
5871         newXS("Wx::HtmlDCRenderer::DESTROY", XS_Wx__HtmlDCRenderer_DESTROY, file);
5872         newXS("Wx::HtmlDCRenderer::SetDC", XS_Wx__HtmlDCRenderer_SetDC, file);
5873         newXS("Wx::HtmlDCRenderer::SetSize", XS_Wx__HtmlDCRenderer_SetSize, file);
5874         newXS("Wx::HtmlDCRenderer::SetHtmlText", XS_Wx__HtmlDCRenderer_SetHtmlText, file);
5875         newXS("Wx::HtmlDCRenderer::SetFonts", XS_Wx__HtmlDCRenderer_SetFonts, file);
5876 #if XSubPPtmpAAAF
5877         newXS("Wx::HtmlDCRenderer::Render", XS_Wx__HtmlDCRenderer_Render, file);
5878 #endif
5879 #if XSubPPtmpAAAG
5880         newXS("Wx::HtmlDCRenderer::Render", XS_Wx__HtmlDCRenderer_Render, file);
5881 #endif
5882         newXS("Wx::HtmlDCRenderer::GetTotalHeight", XS_Wx__HtmlDCRenderer_GetTotalHeight, file);
5883 #if XSubPPtmpAAAH
5884         newXS("Wx::HtmlEasyPrinting::new", XS_Wx__HtmlEasyPrinting_new, file);
5885 #endif
5886 #if XSubPPtmpAAAI
5887         newXS("Wx::HtmlEasyPrinting::new", XS_Wx__HtmlEasyPrinting_new, file);
5888 #endif
5889         newXS("Wx::HtmlEasyPrinting::CLONE", XS_Wx__HtmlEasyPrinting_CLONE, file);
5890         newXS("Wx::HtmlEasyPrinting::DESTROY", XS_Wx__HtmlEasyPrinting_DESTROY, file);
5891         newXS("Wx::HtmlEasyPrinting::PreviewFile", XS_Wx__HtmlEasyPrinting_PreviewFile, file);
5892         newXS("Wx::HtmlEasyPrinting::PreviewText", XS_Wx__HtmlEasyPrinting_PreviewText, file);
5893         newXS("Wx::HtmlEasyPrinting::PrintFile", XS_Wx__HtmlEasyPrinting_PrintFile, file);
5894         newXS("Wx::HtmlEasyPrinting::PrintText", XS_Wx__HtmlEasyPrinting_PrintText, file);
5895 #if XSubPPtmpAAAJ
5896         newXS("Wx::HtmlEasyPrinting::PrinterSetup", XS_Wx__HtmlEasyPrinting_PrinterSetup, file);
5897 #endif
5898         newXS("Wx::HtmlEasyPrinting::PageSetup", XS_Wx__HtmlEasyPrinting_PageSetup, file);
5899         newXS("Wx::HtmlEasyPrinting::SetHeader", XS_Wx__HtmlEasyPrinting_SetHeader, file);
5900         newXS("Wx::HtmlEasyPrinting::SetFonts", XS_Wx__HtmlEasyPrinting_SetFonts, file);
5901         newXS("Wx::HtmlEasyPrinting::SetFooter", XS_Wx__HtmlEasyPrinting_SetFooter, file);
5902         newXS("Wx::HtmlEasyPrinting::GetPrintData", XS_Wx__HtmlEasyPrinting_GetPrintData, file);
5903         newXS("Wx::HtmlEasyPrinting::GetPageSetupData", XS_Wx__HtmlEasyPrinting_GetPageSetupData, file);
5904 #if XSubPPtmpAAAK
5905         newXS("Wx::HtmlEasyPrinting::GetParentWindow", XS_Wx__HtmlEasyPrinting_GetParentWindow, file);
5906         newXS("Wx::HtmlEasyPrinting::SetParentWindow", XS_Wx__HtmlEasyPrinting_SetParentWindow, file);
5907 #endif
5908 #endif
5909         newXS("Wx::HtmlParser::SetFS", XS_Wx__HtmlParser_SetFS, file);
5910         newXS("Wx::HtmlParser::GetFS", XS_Wx__HtmlParser_GetFS, file);
5911         newXS("Wx::HtmlParser::OpenURL", XS_Wx__HtmlParser_OpenURL, file);
5912         newXS("Wx::HtmlParser::Parse", XS_Wx__HtmlParser_Parse, file);
5913         newXS("Wx::HtmlParser::InitParser", XS_Wx__HtmlParser_InitParser, file);
5914         newXS("Wx::HtmlParser::DoneParser", XS_Wx__HtmlParser_DoneParser, file);
5915         newXS("Wx::HtmlParser::StopParsing", XS_Wx__HtmlParser_StopParsing, file);
5916         newXS("Wx::HtmlParser::GetCurrentTag", XS_Wx__HtmlParser_GetCurrentTag, file);
5917         newXS("Wx::HtmlParser::GetProduct", XS_Wx__HtmlParser_GetProduct, file);
5918         newXS("Wx::HtmlParser::AddTagHandler", XS_Wx__HtmlParser_AddTagHandler, file);
5919         newXS("Wx::HtmlParser::PushTagHandler", XS_Wx__HtmlParser_PushTagHandler, file);
5920         newXS("Wx::HtmlParser::PopTagHandler", XS_Wx__HtmlParser_PopTagHandler, file);
5921         newXS("Wx::HtmlParser::SetSource", XS_Wx__HtmlParser_SetSource, file);
5922         newXS("Wx::HtmlParser::SetSourceAndSaveState", XS_Wx__HtmlParser_SetSourceAndSaveState, file);
5923         newXS("Wx::HtmlParser::RestoreState", XS_Wx__HtmlParser_RestoreState, file);
5924         newXS("Wx::HtmlWinParser::OpenURL", XS_Wx__HtmlWinParser_OpenURL, file);
5925         newXS("Wx::HtmlWinParser::SetDC", XS_Wx__HtmlWinParser_SetDC, file);
5926         newXS("Wx::HtmlWinParser::GetDC", XS_Wx__HtmlWinParser_GetDC, file);
5927         newXS("Wx::HtmlWinParser::GetPixelScale", XS_Wx__HtmlWinParser_GetPixelScale, file);
5928         newXS("Wx::HtmlWinParser::GetCharHeight", XS_Wx__HtmlWinParser_GetCharHeight, file);
5929         newXS("Wx::HtmlWinParser::GetCharWidth", XS_Wx__HtmlWinParser_GetCharWidth, file);
5930 #if XSubPPtmpAAAL
5931         newXS("Wx::HtmlWinParser::GetWindow", XS_Wx__HtmlWinParser_GetWindow, file);
5932 #endif
5933 #if XSubPPtmpAAAM
5934         newXS("Wx::HtmlWinParser::GetWindow", XS_Wx__HtmlWinParser_GetWindow, file);
5935 #endif
5936         newXS("Wx::HtmlWinParser::GetContainer", XS_Wx__HtmlWinParser_GetContainer, file);
5937         newXS("Wx::HtmlWinParser::OpenContainer", XS_Wx__HtmlWinParser_OpenContainer, file);
5938         newXS("Wx::HtmlWinParser::SetContainer", XS_Wx__HtmlWinParser_SetContainer, file);
5939         newXS("Wx::HtmlWinParser::CloseContainer", XS_Wx__HtmlWinParser_CloseContainer, file);
5940         newXS("Wx::HtmlWinParser::GetFontSize", XS_Wx__HtmlWinParser_GetFontSize, file);
5941         newXS("Wx::HtmlWinParser::SetFontSize", XS_Wx__HtmlWinParser_SetFontSize, file);
5942         newXS("Wx::HtmlWinParser::GetFontBold", XS_Wx__HtmlWinParser_GetFontBold, file);
5943         newXS("Wx::HtmlWinParser::SetFontBold", XS_Wx__HtmlWinParser_SetFontBold, file);
5944         newXS("Wx::HtmlWinParser::GetFontItalic", XS_Wx__HtmlWinParser_GetFontItalic, file);
5945         newXS("Wx::HtmlWinParser::SetFontItalic", XS_Wx__HtmlWinParser_SetFontItalic, file);
5946         newXS("Wx::HtmlWinParser::GetFontUnderlined", XS_Wx__HtmlWinParser_GetFontUnderlined, file);
5947         newXS("Wx::HtmlWinParser::SetFontUnderlined", XS_Wx__HtmlWinParser_SetFontUnderlined, file);
5948         newXS("Wx::HtmlWinParser::GetFontFixed", XS_Wx__HtmlWinParser_GetFontFixed, file);
5949         newXS("Wx::HtmlWinParser::SetFontFixed", XS_Wx__HtmlWinParser_SetFontFixed, file);
5950         newXS("Wx::HtmlWinParser::GetFontFace", XS_Wx__HtmlWinParser_GetFontFace, file);
5951         newXS("Wx::HtmlWinParser::SetFontFace", XS_Wx__HtmlWinParser_SetFontFace, file);
5952         newXS("Wx::HtmlWinParser::GetAlign", XS_Wx__HtmlWinParser_GetAlign, file);
5953         newXS("Wx::HtmlWinParser::SetAlign", XS_Wx__HtmlWinParser_SetAlign, file);
5954         newXS("Wx::HtmlWinParser::GetLinkColor", XS_Wx__HtmlWinParser_GetLinkColor, file);
5955         newXS("Wx::HtmlWinParser::SetLinkColor", XS_Wx__HtmlWinParser_SetLinkColor, file);
5956         newXS("Wx::HtmlWinParser::GetActualColor", XS_Wx__HtmlWinParser_GetActualColor, file);
5957         newXS("Wx::HtmlWinParser::SetActualColor", XS_Wx__HtmlWinParser_SetActualColor, file);
5958         newXS("Wx::HtmlWinParser::GetLink", XS_Wx__HtmlWinParser_GetLink, file);
5959         newXS("Wx::HtmlWinParser::SetLink", XS_Wx__HtmlWinParser_SetLink, file);
5960 #if XSubPPtmpAAAN
5961         newXS("Wx::HtmlWinParser::SetInputEncoding", XS_Wx__HtmlWinParser_SetInputEncoding, file);
5962         newXS("Wx::HtmlWinParser::GetInputEncoding", XS_Wx__HtmlWinParser_GetInputEncoding, file);
5963         newXS("Wx::HtmlWinParser::GetOutputEncoding", XS_Wx__HtmlWinParser_GetOutputEncoding, file);
5964         newXS("Wx::HtmlWinParser::GetEncodingConverter", XS_Wx__HtmlWinParser_GetEncodingConverter, file);
5965 #endif
5966         newXS("Wx::HtmlWinParser::CreateCurrentFont", XS_Wx__HtmlWinParser_CreateCurrentFont, file);
5967         newXS("Wx::HtmlTagHandler::SetParser", XS_Wx__HtmlTagHandler_SetParser, file);
5968         newXS("Wx::HtmlTagHandler::GetSupportedTags", XS_Wx__HtmlTagHandler_GetSupportedTags, file);
5969         newXS("Wx::HtmlTagHandler::HandleTag", XS_Wx__HtmlTagHandler_HandleTag, file);
5970         newXS("Wx::PlHtmlTagHandler::new", XS_Wx__PlHtmlTagHandler_new, file);
5971         newXS("Wx::PlHtmlTagHandler::GetParser", XS_Wx__PlHtmlTagHandler_GetParser, file);
5972         newXS("Wx::PlHtmlWinTagHandler::new", XS_Wx__PlHtmlWinTagHandler_new, file);
5973         newXS("Wx::PlHtmlWinTagHandler::GetParser", XS_Wx__PlHtmlWinTagHandler_GetParser, file);
5974         newXS("Wx::HtmlTag::GetParent", XS_Wx__HtmlTag_GetParent, file);
5975         newXS("Wx::HtmlTag::GetFirstSibling", XS_Wx__HtmlTag_GetFirstSibling, file);
5976         newXS("Wx::HtmlTag::GetLastSibling", XS_Wx__HtmlTag_GetLastSibling, file);
5977         newXS("Wx::HtmlTag::GetChildren", XS_Wx__HtmlTag_GetChildren, file);
5978         newXS("Wx::HtmlTag::GetPreviousSibling", XS_Wx__HtmlTag_GetPreviousSibling, file);
5979         newXS("Wx::HtmlTag::GetNextSibling", XS_Wx__HtmlTag_GetNextSibling, file);
5980         newXS("Wx::HtmlTag::GetNextTag", XS_Wx__HtmlTag_GetNextTag, file);
5981         newXS("Wx::HtmlTag::GetName", XS_Wx__HtmlTag_GetName, file);
5982         newXS("Wx::HtmlTag::HasParam", XS_Wx__HtmlTag_HasParam, file);
5983         newXS("Wx::HtmlTag::GetParam", XS_Wx__HtmlTag_GetParam, file);
5984         newXS("Wx::HtmlTag::GetAllParams", XS_Wx__HtmlTag_GetAllParams, file);
5985         newXS("Wx::HtmlTag::HasEnding", XS_Wx__HtmlTag_HasEnding, file);
5986 #if XSubPPtmpAAAO
5987         newXS("Wx::HtmlTag::GetBeginPos", XS_Wx__HtmlTag_GetBeginPos, file);
5988         newXS("Wx::HtmlTag::GetEndPos1", XS_Wx__HtmlTag_GetEndPos1, file);
5989         newXS("Wx::HtmlTag::GetEndPos2", XS_Wx__HtmlTag_GetEndPos2, file);
5990 #endif
5991         newXS("Wx::HtmlTag::GetParamAsColour", XS_Wx__HtmlTag_GetParamAsColour, file);
5992         newXS("Wx::HtmlTag::GetParamAsInt", XS_Wx__HtmlTag_GetParamAsInt, file);
5993         newXS("Wx::HtmlCell::new", XS_Wx__HtmlCell_new, file);
5994         newXS("Wx::HtmlCell::Destroy", XS_Wx__HtmlCell_Destroy, file);
5995         newXS("Wx::HtmlCell::SetParent", XS_Wx__HtmlCell_SetParent, file);
5996         newXS("Wx::HtmlCell::GetParent", XS_Wx__HtmlCell_GetParent, file);
5997         newXS("Wx::HtmlCell::GetPosX", XS_Wx__HtmlCell_GetPosX, file);
5998         newXS("Wx::HtmlCell::GetPosY", XS_Wx__HtmlCell_GetPosY, file);
5999         newXS("Wx::HtmlCell::GetWidth", XS_Wx__HtmlCell_GetWidth, file);
6000         newXS("Wx::HtmlCell::GetHeight", XS_Wx__HtmlCell_GetHeight, file);
6001         newXS("Wx::HtmlCell::GetDescent", XS_Wx__HtmlCell_GetDescent, file);
6002 #if XSubPPtmpAAAP
6003         newXS("Wx::HtmlCell::IsFormattingCell", XS_Wx__HtmlCell_IsFormattingCell, file);
6004 #endif
6005         newXS("Wx::HtmlCell::GetId", XS_Wx__HtmlCell_GetId, file);
6006         newXS("Wx::HtmlCell::SetId", XS_Wx__HtmlCell_SetId, file);
6007         newXS("Wx::HtmlCell::GetLink", XS_Wx__HtmlCell_GetLink, file);
6008 #if XSubPPtmpAAAQ
6009         newXS("Wx::HtmlCell::GetCursor", XS_Wx__HtmlCell_GetCursor, file);
6010 #endif
6011         newXS("Wx::HtmlCell::GetNext", XS_Wx__HtmlCell_GetNext, file);
6012 #if XSubPPtmpAAAR
6013         newXS("Wx::HtmlCell::GetFirstChild", XS_Wx__HtmlCell_GetFirstChild, file);
6014 #endif
6015         newXS("Wx::HtmlCell::SetPos", XS_Wx__HtmlCell_SetPos, file);
6016         newXS("Wx::HtmlCell::SetLink", XS_Wx__HtmlCell_SetLink, file);
6017         newXS("Wx::HtmlCell::SetNext", XS_Wx__HtmlCell_SetNext, file);
6018         newXS("Wx::HtmlCell::Layout", XS_Wx__HtmlCell_Layout, file);
6019         newXS("Wx::HtmlCell::SetCanLiveOnPagebreak", XS_Wx__HtmlCell_SetCanLiveOnPagebreak, file);
6020 #if XSubPPtmpAAAS
6021         newXS("Wx::HtmlCell::IsLinebreakAllowed", XS_Wx__HtmlCell_IsLinebreakAllowed, file);
6022 #endif
6023         newXS("Wx::HtmlCell::IsTerminalCell", XS_Wx__HtmlCell_IsTerminalCell, file);
6024 #if XSubPPtmpAAAT
6025         newXS("Wx::HtmlCell::FindCellByPos", XS_Wx__HtmlCell_FindCellByPos, file);
6026         newXS("Wx::HtmlCell::GetAbsPos", XS_Wx__HtmlCell_GetAbsPos, file);
6027         newXS("Wx::HtmlCell::GetFirstTerminal", XS_Wx__HtmlCell_GetFirstTerminal, file);
6028         newXS("Wx::HtmlCell::GetLastTerminal", XS_Wx__HtmlCell_GetLastTerminal, file);
6029         newXS("Wx::HtmlCell::GetDepth", XS_Wx__HtmlCell_GetDepth, file);
6030         newXS("Wx::HtmlCell::IsBefore", XS_Wx__HtmlCell_IsBefore, file);
6031         newXS("Wx::HtmlCell::ConvertToText", XS_Wx__HtmlCell_ConvertToText, file);
6032 #endif
6033 #if XSubPPtmpAAAU
6034         newXS("Wx::HtmlCell::FindCellByPos", XS_Wx__HtmlCell_FindCellByPos, file);
6035 #endif
6036 #if XSubPPtmpAAAV
6037         newXS("Wx::HtmlWordCell::SetPreviousWord", XS_Wx__HtmlWordCell_SetPreviousWord, file);
6038 #endif
6039         newXS("Wx::HtmlContainerCell::new", XS_Wx__HtmlContainerCell_new, file);
6040         newXS("Wx::HtmlContainerCell::InsertCell", XS_Wx__HtmlContainerCell_InsertCell, file);
6041         newXS("Wx::HtmlContainerCell::SetAlignHor", XS_Wx__HtmlContainerCell_SetAlignHor, file);
6042         newXS("Wx::HtmlContainerCell::GetAlignHor", XS_Wx__HtmlContainerCell_GetAlignHor, file);
6043         newXS("Wx::HtmlContainerCell::SetAlignVer", XS_Wx__HtmlContainerCell_SetAlignVer, file);
6044         newXS("Wx::HtmlContainerCell::GetAlignVer", XS_Wx__HtmlContainerCell_GetAlignVer, file);
6045         newXS("Wx::HtmlContainerCell::SetIndent", XS_Wx__HtmlContainerCell_SetIndent, file);
6046         newXS("Wx::HtmlContainerCell::GetIndent", XS_Wx__HtmlContainerCell_GetIndent, file);
6047         newXS("Wx::HtmlContainerCell::GetIndentUnits", XS_Wx__HtmlContainerCell_GetIndentUnits, file);
6048         newXS("Wx::HtmlContainerCell::SetAlign", XS_Wx__HtmlContainerCell_SetAlign, file);
6049         newXS("Wx::HtmlContainerCell::SetWidthFloat", XS_Wx__HtmlContainerCell_SetWidthFloat, file);
6050         newXS("Wx::HtmlContainerCell::SetWidthFloatTag", XS_Wx__HtmlContainerCell_SetWidthFloatTag, file);
6051         newXS("Wx::HtmlContainerCell::SetMinHeight", XS_Wx__HtmlContainerCell_SetMinHeight, file);
6052         newXS("Wx::HtmlContainerCell::SetBackgroundColour", XS_Wx__HtmlContainerCell_SetBackgroundColour, file);
6053         newXS("Wx::HtmlContainerCell::GetBackgroundColour", XS_Wx__HtmlContainerCell_GetBackgroundColour, file);
6054         newXS("Wx::HtmlContainerCell::SetBorder", XS_Wx__HtmlContainerCell_SetBorder, file);
6055 #if XSubPPtmpAAAW
6056         newXS("Wx::HtmlContainerCell::RemoveExtraSpacing", XS_Wx__HtmlContainerCell_RemoveExtraSpacing, file);
6057 #endif
6058         newXS("Wx::HtmlColourCell::new", XS_Wx__HtmlColourCell_new, file);
6059         newXS("Wx::HtmlFontCell::new", XS_Wx__HtmlFontCell_new, file);
6060         newXS("Wx::HtmlWidgetCell::new", XS_Wx__HtmlWidgetCell_new, file);
6061 #if XSubPPtmpAAAX
6062         newXS("Wx::HtmlListBox::Create", XS_Wx__HtmlListBox_Create, file);
6063         newXS("Wx::HtmlListBox::GetFileSystem", XS_Wx__HtmlListBox_GetFileSystem, file);
6064         newXS("Wx::PlHtmlListBox::newDefault", XS_Wx__PlHtmlListBox_newDefault, file);
6065         newXS("Wx::PlHtmlListBox::newFull", XS_Wx__PlHtmlListBox_newFull, file);
6066         newXS("Wx::PlHtmlListBox::new", XS_Wx__PlHtmlListBox_new, file);
6067 #if XSubPPtmpAAAY
6068         newXS("Wx::SimpleHtmlListBox::newDefault", XS_Wx__SimpleHtmlListBox_newDefault, file);
6069         newXS("Wx::SimpleHtmlListBox::newFull", XS_Wx__SimpleHtmlListBox_newFull, file);
6070         newXS("Wx::SimpleHtmlListBox::Create", XS_Wx__SimpleHtmlListBox_Create, file);
6071         newXS("Wx::SimpleHtmlListBox::SetSelection", XS_Wx__SimpleHtmlListBox_SetSelection, file);
6072         newXS("Wx::SimpleHtmlListBox::GetSelection", XS_Wx__SimpleHtmlListBox_GetSelection, file);
6073         newXS("Wx::SimpleHtmlListBox::GetCount", XS_Wx__SimpleHtmlListBox_GetCount, file);
6074         newXS("Wx::SimpleHtmlListBox::GetString", XS_Wx__SimpleHtmlListBox_GetString, file);
6075         newXS("Wx::SimpleHtmlListBox::SetString", XS_Wx__SimpleHtmlListBox_SetString, file);
6076         newXS("Wx::SimpleHtmlListBox::Clear", XS_Wx__SimpleHtmlListBox_Clear, file);
6077         newXS("Wx::SimpleHtmlListBox::Delete", XS_Wx__SimpleHtmlListBox_Delete, file);
6078         newXS("Wx::SimpleHtmlListBox::AppendStrings", XS_Wx__SimpleHtmlListBox_AppendStrings, file);
6079         newXS("Wx::SimpleHtmlListBox::AppendString", XS_Wx__SimpleHtmlListBox_AppendString, file);
6080         newXS("Wx::SimpleHtmlListBox::AppendData", XS_Wx__SimpleHtmlListBox_AppendData, file);
6081         newXS("Wx::SimpleHtmlListBox::new", XS_Wx__SimpleHtmlListBox_new, file);
6082         newXS("Wx::SimpleHtmlListBox::Append", XS_Wx__SimpleHtmlListBox_Append, file);
6083 #endif
6084 #endif
6085
6086     /* Initialisation Section */
6087
6088   INIT_PLI_HELPERS( wx_pli_helpers );
6089
6090 #if XSubPPtmpAAAA
6091 #endif
6092 #if XSubPPtmpAAAB
6093 #endif
6094 #if XSubPPtmpAAAC
6095 #endif
6096 #if XSubPPtmpAAAD
6097 #endif
6098 #if XSubPPtmpAAAE
6099 #if XSubPPtmpAAAF
6100 #endif
6101 #if XSubPPtmpAAAG
6102 #endif
6103 #if XSubPPtmpAAAH
6104 #endif
6105 #if XSubPPtmpAAAI
6106 #endif
6107 #if XSubPPtmpAAAJ
6108 #endif
6109 #if XSubPPtmpAAAK
6110 #endif
6111 #endif
6112 #if XSubPPtmpAAAL
6113 #endif
6114 #if XSubPPtmpAAAM
6115 #endif
6116 #if XSubPPtmpAAAN
6117 #endif
6118 #if XSubPPtmpAAAO
6119 #endif
6120 #if XSubPPtmpAAAP
6121 #endif
6122 #if XSubPPtmpAAAQ
6123 #endif
6124 #if XSubPPtmpAAAR
6125 #endif
6126 #if XSubPPtmpAAAS
6127 #endif
6128 #if XSubPPtmpAAAT
6129 #endif
6130 #if XSubPPtmpAAAU
6131 #endif
6132 #if XSubPPtmpAAAV
6133 #endif
6134 #if XSubPPtmpAAAW
6135 #endif
6136 #if XSubPPtmpAAAX
6137 #if XSubPPtmpAAAY
6138 #endif
6139 #endif
6140
6141     /* End of Initialisation Section */
6142
6143 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
6144   if (PL_unitcheckav)
6145        call_list(PL_scopestack_ix, PL_unitcheckav);
6146 #endif
6147     XSRETURN_YES;
6148 }
6149